/* ==========================================================
   LOGIN PAGE
========================================================== */

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

body{

    font-family:
    "Inter",
    Arial,
    Helvetica,
    sans-serif;

    background:#f8fafc;

    color:#253d4e;

}

/* ==========================================================
   PAGE
========================================================== */

.login-page{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:60px 20px;

    position:relative;

    overflow:hidden;

    background:
    linear-gradient(
    135deg,
    #f8fafc 0%,
    #eefbf4 100%);

}

/* Floating Background */

.login-page::before{

    content:"";

    position:absolute;

    width:520px;

    height:520px;

    left:-180px;

    top:-180px;

    border-radius:50%;

    background:
    rgba(59,183,126,.08);

    filter:blur(40px);

}

.login-page::after{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    right:-160px;

    bottom:-180px;

    border-radius:50%;

    background:
    rgba(59,183,126,.06);

    filter:blur(40px);

}

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

.lg-container{

    width:100%;

    max-width:1320px;

    position:relative;

    z-index:2;

}

.lg-wrapper{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    background:#fff;

    border-radius:30px;

    overflow:hidden;

    box-shadow:

    0 35px 80px

    rgba(15,23,42,.10);

}

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

.lg-left{

    position:relative;

    overflow:hidden;

    padding:70px;

    display:flex;

    align-items:center;

    background:

    linear-gradient(
    135deg,
    
    #2a0103,
    #ac1d17);

    color:#fff;

}

/* Pattern */

.lg-pattern{

    position:absolute;

    inset:0;

    opacity:.12;

    background:

    radial-gradient(circle at 20% 20%,
    white 2px,
    transparent 2px);

    background-size:35px 35px;

}

.lg-content{

    position:relative;

    z-index:2;

}

/* ==========================================================
   BADGE
========================================================== */

.lg-badge{

    display:inline-flex;

    align-items:center;

    padding:10px 18px;

    border-radius:999px;

    background:

    rgba(255,255,255,.15);

    backdrop-filter:blur(12px);

    font-size:14px;

    font-weight:700;

    margin-bottom:28px;

}

/* ==========================================================
   TITLE
========================================================== */

.lg-content h1{

    font-size:54px;

    line-height:1.15;

    font-weight:800;

    margin-bottom:25px;

}

.lg-content>p{

    font-size:18px;

    line-height:1.9;

    opacity:.96;

    max-width:520px;

    margin-bottom:45px;

}

/* ==========================================================
   FEATURES
========================================================== */

.lg-features{

    display:flex;

    flex-direction:column;

    gap:24px;

}

.lg-feature{

    display:flex;

    gap:18px;

    align-items:flex-start;

}

.lg-icon{

    width:55px;

    height:55px;

    border-radius:18px;

    background:

    rgba(255,255,255,.16);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

    font-weight:700;

    flex-shrink:0;

}

.lg-feature h4{

    font-size:20px;

    margin-bottom:8px;

}

.lg-feature p{

    opacity:.9;

    line-height:1.7;

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

.lg-right{

    display:flex;

    justify-content:center;

    align-items:center;

    padding:70px 55px;

    background:#fff;

}

.lg-form-card{

    width:100%;

    max-width:460px;

}

/* ==========================================================
   LOGO
========================================================== */

.lg-logo{

    width:80px;

    height:80px;

    margin:0 auto 25px;

    border-radius:50%;

    background:#f3faf6;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:
    0 15px 35px rgba(59,183,126,.12);

}

.lg-logo img{

    width:55px;

    height:auto;

}

/* ==========================================================
   HEADINGS
========================================================== */

.lg-small-title{

    display:inline-block;

    color:#ac1d17,;

    background:#fff1f2;

    padding:8px 16px;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

    letter-spacing:.8px;

    margin-bottom:18px;

}

.lg-form-card h2{

    font-size:38px;

    color:#253d4e;

    margin-bottom:12px;

    font-weight:800;

}

.lg-subtitle{

    color:#64748b;

    line-height:1.7;

    margin-bottom:35px;

}

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

.lg-error{

    display:flex;

    align-items:center;

    gap:10px;

    padding:15px 18px;

    border-radius:14px;

    background:#fff1f2;

    color:#dc2626;

    margin-bottom:25px;

    border:1px solid #fecaca;

    font-size:14px;

    font-weight:600;

}

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

.lg-form{

    display:flex;

    flex-direction:column;

    gap: 22px;;

}

.lg-input-group{

    display:flex;

    flex-direction:column;

}

.lg-input-group label{

    margin-bottom:10px;

    font-size:14px;

    color:#475569;

    font-weight:700;

}

/* ==========================================================
   INPUT BOX
========================================================== */

.lg-input-box{

    position:relative;

}

.lg-input-box i:first-child{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    color:#94a3b8;

    font-size:18px;

}

.lg-input-box input{

    width:100%;

    height:58px;

    padding:0 55px;

    border:1px solid #dbe4ec;

    border-radius:16px;

    font-size:15px;

    transition:.35s;

    outline:none;

    background:#fff;

}

.lg-input-box input:focus{

    border-color:#ac1d17;

    box-shadow:
    0 0 0 4px rgba(172,29,23,.12);

}

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

.lg-password-toggle{

    position:absolute;

    right:15px;

    top:50%;

    transform:translateY(-50%);

    background:none;

    border:none;

    cursor:pointer;

    color:#64748b;

    font-size:18px;

    width:36px;

    height:36px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    transition:.3s;

}

.lg-password-toggle:hover{

    background:#f3faf6;

    color:#fff1f2;

}

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

.lg-options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:12px;

}

.lg-checkbox{

    display:flex;

    align-items:center;

    gap:8px;

    cursor:pointer;

    color:#64748b;

    font-size:14px;

}

.lg-checkbox input{

    accent-color:#ac1d17;

}

.lg-options a{

    color:#ac1d17;

    text-decoration:none;

    font-weight:600;

}

.lg-options a:hover{

    text-decoration:underline;

}

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

.lg-login-btn{

    width:100%;

    height:58px;

    border:none;

    border-radius:16px;

    background:linear-gradient(
        135deg,
        #ac1d17,
        #6e0108
    );

    color:#fff;

    font-size:17px;

    font-weight:700;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    transition:.35s;

}

.lg-login-btn:hover{

    transform:translateY(-3px);

    box-shadow:
    0 18px 35px rgba(59,183,126,.30);

}
/* ==========================================================
   DIVIDER
========================================================== */

.lg-divider{

    position:relative;

    text-align:center;

    margin:35px 0;

}

.lg-divider::before{

    content:"";

    position:absolute;

    left:0;

    top:50%;

    width:100%;

    height:1px;

    background:#e5e7eb;

}

.lg-divider span{

    position:relative;

    z-index:2;

    background:#fff;

    color:#94a3b8;

    padding:0 18px;

    font-size:13px;

    font-weight:700;

    letter-spacing:1px;

}

/* ==========================================================
   REGISTER
========================================================== */

.lg-register{

    text-align:center;

    color:#64748b;

    font-size:15px;

    margin-bottom:35px;

}

.lg-register a{

    color:#ac1d17;

    font-weight:700;

    text-decoration:none;

    margin-left:5px;

    transition:.3s;

}

.lg-register a:hover{

    color:#ac1d17;

    text-decoration:underline;

}

/* ==========================================================
   TRUST BADGES
========================================================== */

.lg-trust{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:14px;

}

.lg-trust div{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:10px;

    padding:18px 12px;

    background:#f8fafc;

    border:1px solid #eef2f7;

    border-radius:16px;

    font-size:13px;

    font-weight:700;

    color:#475569;

    transition:.35s;

}

.lg-trust div:hover{

    transform:translateY(-5px);

    background:#eefbf4;

    border-color:#ac1d17;

    color:#ac1d17;

    box-shadow:0 15px 35px rgba(172,29,23,.12);

}

/* ==========================================================
   INPUT PLACEHOLDER
========================================================== */

.lg-input-box input::placeholder{

    color:#94a3b8;

}

/* ==========================================================
   FOCUS TRANSITIONS
========================================================== */

.lg-input-box{

    transition:.35s;

}

.lg-input-box:focus-within{

    transform:translateY(-2px);

}

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

.lg-login-btn:active{

    transform:scale(.98);

}

/* ==========================================================
   FEATURE HOVER
========================================================== */

.lg-feature{

    transition:.35s;

}

.lg-feature:hover{

    transform:translateX(8px);

}

.lg-feature:hover .lg-icon{

    transform:rotate(-10deg) scale(1.08);

    transition:.35s;

}

/* ==========================================================
   LOGO HOVER
========================================================== */

.lg-logo{

    transition:.35s;

}

.lg-logo:hover{

    transform:rotate(-8deg) scale(1.05);

}

/* ==========================================================
   CARD ANIMATION
========================================================== */

.lg-form-card{

    animation:lgFade .7s ease;

}

@keyframes lgFade{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

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

.lg-content{

    animation:lgSlide .8s ease;

}

@keyframes lgSlide{

    from{

        opacity:0;

        transform:translateX(-40px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

/* ==========================================================
   INPUT HOVER
========================================================== */

.lg-input-box:hover input{

    border-color:#ac1d17;

}

/* ==========================================================
   SELECTION
========================================================== */

::selection{

    background:#ac1d17;

    color:#fff;

}

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

a{

    transition:.3s;

}

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

button{

    transition:.3s;

}

/* ==========================================================
   REMOVE TAP COLOR
========================================================== */

*{

    -webkit-tap-highlight-color:transparent;

}
/* ==========================================================
   LARGE LAPTOPS (1400px)
========================================================== */

@media (max-width:1400px){

.lg-wrapper{
    max-width:1200px;
}

.lg-left{
    padding:60px;
}

.lg-right{
    padding:60px 45px;
}

.lg-content h1{
    font-size:48px;
}

}

/* ==========================================================
   LAPTOP (1200px)
========================================================== */

@media (max-width:1200px){

.lg-wrapper{
    grid-template-columns:1fr 1fr;
}

.lg-left{
    padding:50px;
}

.lg-right{
    padding:50px 35px;
}

.lg-content h1{
    font-size:42px;
}

.lg-content>p{
    font-size:16px;
}

.lg-form-card h2{
    font-size:34px;
}

}

/* ==========================================================
   TABLET (992px)
========================================================== */

@media (max-width:992px){

.login-page{

    padding:30px 20px;

}

.lg-wrapper{

    grid-template-columns:1fr;

}

.lg-left{

    text-align:center;

    padding:50px 35px;

}

.lg-content>p{

    margin-left:auto;
    margin-right:auto;

}

.lg-features{

    max-width:520px;

    margin:auto;

}

.lg-right{

    padding:45px 35px;

}

}

/* ==========================================================
   MOBILE (768px)
========================================================== */

@media (max-width:768px){

.login-page{

    padding:20px 12px;

}

.lg-wrapper{

    border-radius:22px;

}

.lg-left{

    padding:35px 25px;

}

.lg-content h1{

    font-size:34px;

}

.lg-content>p{

    font-size:15px;

    line-height:1.7;

}

.lg-badge{

    font-size:12px;

}

.lg-feature{

    align-items:flex-start;

}

.lg-feature h4{

    font-size:17px;

}

.lg-feature p{

    font-size:13px;

}

.lg-right{

    padding:30px 22px;

}

.lg-form-card h2{

    font-size:28px;

}

.lg-subtitle{

    font-size:14px;

}

.lg-input-box input{

    height:54px;

    font-size:14px;

}

.lg-login-btn{

    height:54px;

    font-size:16px;

}

.lg-trust{

    grid-template-columns:1fr;

}

}

/* ==========================================================
   SMALL MOBILE (480px)
========================================================== */

@media (max-width:480px){

.login-page{

    padding:15px 10px;

}

.lg-wrapper{

    border-radius:18px;

}

.lg-left{

    padding:28px 18px;

}

.lg-content h1{

    font-size:28px;

}

.lg-content>p{

    font-size:14px;

}

.lg-feature{

    gap:12px;

}

.lg-icon{

    width:46px;

    height:46px;

    font-size:18px;

    border-radius:14px;

}

.lg-feature h4{

    font-size:16px;

}

.lg-feature p{

    font-size:12px;

}

.lg-right{

    padding:22px 18px;

}

.lg-logo{

    width:65px;

    height:65px;

}

.lg-logo img{

    width:42px;

}

.lg-form-card h2{

    font-size:24px;

}

.lg-small-title{

    font-size:11px;

}

.lg-input-group label{

    font-size:13px;

}

.lg-input-box input{

    padding:0 48px;

    height:50px;

}

.lg-login-btn{

    height:50px;

    font-size:15px;

}

.lg-options{

    flex-direction:column;

    align-items:flex-start;

}

.lg-register{

    font-size:14px;

}

}

/* ==========================================================
   EXTRA SMALL (360px)
========================================================== */

@media (max-width:360px){

.lg-left{

    padding:24px 15px;

}

.lg-content h1{

    font-size:24px;

}

.lg-content>p{

    font-size:13px;

}

.lg-right{

    padding:18px 15px;

}

.lg-form-card h2{

    font-size:22px;

}

.lg-input-box input{

    font-size:13px;

}

.lg-login-btn{

    font-size:14px;

}

.lg-trust div{

    padding:14px 10px;

    font-size:12px;

}

}
.rg-divider{
    display:flex;
    align-items:center;
    margin:20px 0;
}

.rg-divider::before,
.rg-divider::after{
    content:"";
    flex:1;
    height:1px;
    background:#ddd;
}

.rg-divider span{
    padding:0 15px;
    color:#777;
    font-size:14px;
    font-weight:600;
}