/* ==========================================================
   MIROTY Seller Portal v4.2
   Inspired by modern marketplace seller portals
========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root{

    --primary:#2874F0;
    --primary-dark:#1d67dd;

    --background:#EEF3FB;

    --white:#ffffff;

    --text:#1f2937;

    --border:#dbe4f0;

    --shadow:0 20px 60px rgba(0,0,0,.12);

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Inter',sans-serif;

    background:linear-gradient(135deg,#eaf2ff,#f8fbff);

    min-height:100vh;

}

/* ========================= */

.msa-container{

    display:flex;

    min-height:100vh;

}

/* ========================= */
/* LEFT SIDE */
/* ========================= */

.msa-left{

    width:45%;

    background:linear-gradient(135deg,#2874F0,#1565C0);

    color:white;

    padding:80px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.brand h1{

    font-size:54px;

    font-weight:700;

}

.tagline{

    font-size:22px;

    opacity:.95;

    margin-top:10px;

    margin-bottom:60px;

}

.features{

    display:flex;

    flex-direction:column;

    gap:28px;

}

.feature{

    display:flex;

    align-items:center;

    gap:15px;

    font-size:20px;

}

.footer-text{

    margin-top:80px;

    opacity:.85;

}

/* ========================= */
/* RIGHT */
/* ========================= */

.msa-right{

    width:55%;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:50px;

}

#loginCard,
#otpCard{

    width:420px;

    background:white;

    border-radius:24px;

    padding:40px;

    box-shadow:var(--shadow);

}

h2{

    font-size:34px;

    margin-bottom:10px;

}

.subtitle{

    color:#6b7280;

    margin-bottom:35px;

}

label{

    display:block;

    margin-bottom:10px;

    font-weight:600;

}

.phone-input{

    display:flex;

    margin-bottom:25px;

}

.country{

    width:95px;

    border:1px solid var(--border);

    border-right:none;

    border-radius:14px 0 0 14px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#f7f9fc;

}

.phone-input input{

    flex:1;

    height:56px;

    border:1px solid var(--border);

    border-radius:0 14px 14px 0;

    padding:0 18px;

    font-size:16px;

}

.input{

    width:100%;

    height:56px;

    border:1px solid var(--border);

    border-radius:14px;

    padding:0 18px;

    font-size:16px;

    margin-bottom:25px;

}

.phone-input input:focus,
.input:focus{

    outline:none;

    border-color:var(--primary);

}

.divider{

    display:flex;

    align-items:center;

    margin:25px 0;

}

.divider::before,
.divider::after{

    content:"";

    flex:1;

    border-bottom:1px solid #ddd;

}

.divider span{

    margin:0 15px;

    color:#888;

}

.btn{

    width:100%;

    height:56px;

    border:none;

    border-radius:14px;

    background:var(--primary);

    color:white;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

.btn:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}

/* ========================= */
/* OTP */
/* ========================= */

.otp{

    display:flex;

    justify-content:space-between;

    margin:30px 0;

}

.otp-input{

    width:52px;

    height:60px;

    border:1px solid var(--border);

    border-radius:14px;

    text-align:center;

    font-size:22px;

}

.otp-input:focus{

    outline:none;

    border-color:var(--primary);

}

.timer{

    text-align:center;

    margin-bottom:25px;

    color:#6b7280;

}

.back{

    color:var(--primary);

    text-decoration:none;

    display:inline-block;

    margin-bottom:25px;

}

/* ========================= */
/* Responsive */
/* ========================= */

@media(max-width:900px){

    .msa-left{

        display:none;

    }

    .msa-right{

        width:100%;

        padding:20px;

    }

    #loginCard,
    #otpCard{

        width:100%;

    }

}