/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:45px;
    background:linear-gradient(135deg,#123f39,#19493f,#46643f);
}

/* ==========================
   CONTAINER
========================== */

.container{
    width:100%;
    max-width:1260px;
    min-height:760px;
    display:flex;
    border-radius:28px;
    overflow:hidden;
}


/* ==========================
   LEFT PANEL
========================== */

.left-panel{
    flex:1;
    padding:60px 55px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    color:#fff;
    background:
    radial-gradient(circle at top left,
    rgba(184,143,37,.35),
    transparent 40%),
    #103b36;
}

.logo{
    display:flex;
    align-items:center;
    gap:14px;
}

.logo-icon{
    width:40px;
    height:40px;
    border:3px solid #d9982d;
    border-radius:50%;
    color:#d9982d;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:18px;
    font-weight:bold;
}

.logo h2{
    font-family:Georgia, serif;
    font-size:28px;
    font-weight:700;
}

.hero-text{
    max-width:430px;
}

.hero-text h1{
    font-family:Georgia, serif;
    font-size:38px;
    line-height:1.15;
    margin-bottom:26px;
}

.hero-text p{
    font-size:17.5px;
    line-height:1.6;
    color:rgba(255,255,255,.78);
}

footer{
    color:rgba(255,255,255,.55);
    font-size:15px;
}

/* ==========================
   RIGHT PANEL
========================== */

.right-panel{
    flex:1;
    background:#f8f5ef;
    padding:30px;
    overflow-y:auto;
}

/* ==========================
   TABS
========================== */

.tabs{
    width:100%;
    height:62px;
    background:#e9e2d7;
    border-radius:50px;
    display:flex;
    padding:4px;
    margin-bottom:40px;
}

.tab{
    flex:1;
    border:none;
    background:none;
    border-radius:40px;
    font-size:20px;
    font-weight:600;
    color:#5b6c64;
    cursor:pointer;
    transition:.3s;
}

.tab.active{
    background:#fff;
    color:#20312c;
    box-shadow:0 5px 12px rgba(0,0,0,.12);
}

/* ==========================
   FORM
========================== */

.form-container h1{
    font-family:Georgia, serif;
    font-size:30px;
    color:#20312c;
    margin-bottom:10px;
}

.subtitle{
    font-size:15px;
    color:#67766e;
    margin-bottom:30px;
}

/* ==========================
   INPUTS
========================== */

.input-group{
    margin-bottom:14px;
}

.input-group label{
    display:block;
    margin-bottom:8px;
    font-size:15px;
    font-weight:700;
    color:#202d29;
}

.input-group input{
    width:100%;
    height:56px;
    padding:0 18px;
    border:2px solid #ddd6ca;
    border-radius:14px;
    background:#fff;
    font-size:16px;
    outline:none;
    transition:.3s;
}

.input-group input::placeholder{
    color:#b7aea2;
}

.input-group input:focus{
    border-color:#d28c2a;
    box-shadow:0 0 0 4px rgba(210,140,42,.15);
}

/* ==========================
   PASSWORD
========================== */

.password-box{
    position:relative;
}

.eye{
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    width:20px;
    height:20px;
    cursor:pointer;
    transition:.3s;
}

.eye:hover{
    opacity:.7;
}

/* ==========================
   ERROR
========================== */

.error{
    display:block;
    margin-top:6px;
    min-height:18px;
    color:#ef4444;
    font-size:13px;
}

.input-group.error input{
    border-color:#ef4444;
}

.input-group.success input{
    border-color:#22c55e;
}

/* ==========================
   OPTIONS
========================== */

.options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:10px 0 28px;
}

.remember{
    display:flex;
    align-items:center;
    gap:10px;
    color:#62716a;
    font-size:15px;
}

.remember input{
    width:18px;
    height:18px;
}

.options a{
    text-decoration:none;
    color:#d08a28;
    font-weight:600;
    font-size:15px;
}

.options a:hover{
    text-decoration:underline;
}

/* ==========================
   BUTTON
========================== */

.login-btn{
    width:100%;
    height:56px;
    border:none;
    border-radius:14px;
    background:#d28c2a;
    color:#111;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.login-btn:hover{
    background:#be7c21;
}

/* ==========================
   BOTTOM LINK
========================== */

.signup-link{
    margin-top:24px;
    text-align:center;
    color:#65746c;
    font-size:15px;
}

.signup-link a{
    color:#d08b2c;
    text-decoration:none;
    font-weight:700;
}

.signup-link a:hover{
    text-decoration:underline;
}

/* ==========================
   PASSWORD STRENGTH
========================== */

.strength{
    display:flex;
    gap:6px;
    margin:12px 0 4px;
}

.strength span{
    flex:1;
    height:5px;
    background:#ddd6ca;
    border-radius:20px;
    transition:.3s;
}


.strength span.weak{
    background:#ef4444;
}

.strength span.medium{
    background:#f59e0b;
}

.strength span.strong{
    background:#22c55e;
}

/* ==========================
   HIDDEN FORM
========================== */

.hidden{
    display:none;
}

/* ==========================
   TAB TRANSITIONS
========================== */

.form-container{
    animation:fade .25s ease;
}

@keyframes fade{

    from{
        opacity:0;
        transform:translateY(8px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* ==========================
   CHECKBOX
========================== */

.remember input,
#terms{
    accent-color:#d28c2a;
    cursor:pointer;
}

/* ==========================
   LINKS
========================== */

a{
    transition:.25s;
}

a:hover{
    opacity:.85;
}

/* ==========================
   BUTTON ACTIVE
========================== */

.login-btn:active{
    transform:scale(.98);
}

/* ==========================
   INPUT STATES
========================== */

input:disabled{
    background:#ece8df;
    cursor:not-allowed;
}

button:disabled{
    opacity:.7;
    cursor:not-allowed;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width:600px){

    body{
        padding:12px;
    }

    .container{
        border-radius:18px;
    }

    .left-panel{
        padding:30px 24px;
    }

    .logo h2{
        font-size:24px;
    }

    .hero-text h1{
        font-size:28px;
    }

    .hero-text p{
        font-size:15px;
    }

    .right-panel{
        padding:22px;
    }

    .tabs{
        height:54px;
    }

    .tab{
        font-size:17px;
    }

    .form-container h1{
        font-size:26px;
    }

    .subtitle{
        font-size:14px;
    }

    .input-group input{
        height:52px;
        font-size:15px;
    }

    .login-btn{
        height:52px;
        font-size:16px;
    }

    .signup-link{
        font-size:14px;
    }

}