/* =========================================================
   CUSTOMER AUTH PAGES
========================================================= */

.customer-auth-page{
    padding: 70px 0;
    background: #f8fafc;
    min-height: calc(100vh - 140px);
}

.customer-auth-layout{
    display: grid;
    grid-template-columns: minmax(0,1fr) 470px;
    gap: 42px;
    align-items: center;
}

/* =========================================================
   LEFT SIDE
========================================================= */

.customer-auth-info{
    padding-right: 20px;
}

.customer-auth-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 24px;
}

.customer-auth-info h1{
    font-size: 58px;
    line-height: 1.05;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 20px;
}

.customer-auth-info p{
    max-width: 620px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 34px;
}

.customer-auth-benefits{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.customer-auth-benefits div{
    display: flex;
    align-items: center;
    gap: 14px;
    color: #334155;
    font-size: 15px;
    font-weight: 700;
}

.customer-auth-benefits i{
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* =========================================================
   CARD
========================================================= */

.customer-auth-card{
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5edf6;
    border-radius: 30px;
    padding: 42px;
    box-shadow: 0 24px 60px rgba(15,23,42,.07);
}

.customer-auth-card-head{
    margin-bottom: 28px;
}

.customer-auth-card-head h2{
    font-size: 40px;
    line-height: 1.08;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 10px;
}

.customer-auth-card-head p{
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* =========================================================
   ALERTS
========================================================= */

.customer-auth-alert{
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 700;
}

.customer-auth-alert.error{
    background: #fee2e2;
    color: #991b1b;
}

.customer-auth-alert.success{
    background: #dcfce7;
    color: #166534;
}

/* =========================================================
   FORM
========================================================= */

.customer-auth-form{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.customer-auth-group{
    display: flex;
    flex-direction: column;
}

.customer-auth-group label{
    margin-bottom: 9px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.customer-auth-input{
    position: relative;
}

.customer-auth-input i{
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
}

.customer-auth-input input{
    width: 100%;
    min-height: 56px;
    border: 1px solid #dbe2ea;
    border-radius: 18px;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    padding: 0 16px 0 48px;
    transition: .2s ease;
}

.customer-auth-input input:focus{
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,.08);
}

/* =========================================================
   OPTIONS
========================================================= */

.customer-auth-options{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.customer-remember{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.customer-remember input{
    width: 16px;
    height: 16px;
}

.customer-forgot-link{
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

/* =========================================================
   BUTTON
========================================================= */

.customer-auth-btn{
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 18px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s ease;
    margin-top: 4px;
}

.customer-auth-btn:hover{
    background: #1d4ed8;
}

/* =========================================================
   SWITCH
========================================================= */

.customer-auth-switch{
    text-align: center;
    margin-top: 28px;
}

.customer-auth-switch span{
    display: block;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 8px;
}

.customer-auth-switch a{
    color: #2563eb;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width: 1100px){

    .customer-auth-layout{
        grid-template-columns: 1fr;
    }

    .customer-auth-info{
        padding-right: 0;
    }
}

@media(max-width: 768px){

    .customer-auth-page{
        padding: 50px 0;
    }

    .customer-auth-info h1{
        font-size: 42px;
    }

    .customer-auth-card{
        padding: 32px;
    }

    .customer-auth-card-head h2{
        font-size: 34px;
    }
}

@media(max-width: 576px){

    .customer-auth-info h1{
        font-size: 34px;
    }

    .customer-auth-card{
        padding: 24px;
        border-radius: 24px;
    }

    .customer-auth-options{
        flex-direction: column;
        align-items: flex-start;
    }

    .customer-auth-card-head h2{
        font-size: 28px;
    }
}