* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    min-height: 100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #dbeafe,
            #eff6ff,
            #f8fafc
        );

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 25px;

    color: #1e293b;
}


/* =========================================
   MAIN CONTAINER
========================================= */

.login-container {

    width: 100%;
    max-width: 1050px;

    min-height: 650px;

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    background:
        rgba(255, 255, 255, 0.88);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);

    border:
        1px solid rgba(255,255,255,0.8);

    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 25px 60px
        rgba(15, 23, 42, 0.15);

}


/* =========================================
   LEFT SIDE
========================================= */

.login-info {

    padding: 55px 45px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #2563eb,
            #1d4ed8,
            #1e40af
        );

    color: white;

    position: relative;

    overflow: hidden;
}


/* Decorative circles */

.login-info::before {

    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.08);

    top: -90px;
    right: -90px;

}


.login-info::after {

    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.06);

    bottom: -80px;
    left: -80px;

}


/* =========================================
   LOGO
========================================= */

.brand-logo {

    width: 72px;
    height: 72px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(255,255,255,0.16);

    border:
        1px solid
        rgba(255,255,255,0.3);

    border-radius: 20px;

    font-size: 25px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 28px;

    box-shadow:
        0 10px 25px
        rgba(0,0,0,0.12);

    position: relative;

    z-index: 2;
}


/* =========================================
   LEFT TITLE
========================================= */

.login-info h1 {

    font-size: 38px;

    line-height: 1.15;

    margin-bottom: 18px;

    font-weight: 800;

    position: relative;

    z-index: 2;
}


.login-info p {

    font-size: 16px;

    line-height: 1.7;

    max-width: 390px;

    color:
        rgba(255,255,255,0.86);

    margin-bottom: 35px;

    position: relative;

    z-index: 2;
}


/* =========================================
   FEATURES
========================================= */

.features {

    display: flex;

    flex-direction: column;

    gap: 15px;

    position: relative;

    z-index: 2;
}


.features div {

    font-size: 14px;

    padding: 11px 14px;

    border-radius: 12px;

    background:
        rgba(255,255,255,0.09);

    border:
        1px solid
        rgba(255,255,255,0.12);

    transition:
        0.25s ease;
}


.features div:hover {

    background:
        rgba(255,255,255,0.17);

    transform:
        translateX(5px);
}


/* =========================================
   RIGHT LOGIN BOX
========================================= */

.login-box {

    padding:
        42px 55px;

    background:
        rgba(255,255,255,0.94);

    overflow-y: auto;
}


/* =========================================
   HEADER
========================================= */

.login-header {

    text-align: center;

    margin-bottom: 25px;
}


.login-header h2 {

    font-size: 30px;

    color: #0f172a;

    margin-bottom: 8px;

    font-weight: 800;
}


.login-header p {

    font-size: 14px;

    color: #64748b;
}


/* =========================================
   LOGIN / SIGNUP TABS
========================================= */

.mode-buttons {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 5px;

    background: #f1f5f9;

    padding: 5px;

    border-radius: 13px;

    margin-bottom: 25px;
}


.mode-button {

    border: none;

    background: transparent;

    color: #64748b;

    padding: 12px;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        all 0.25s ease;
}


.mode-button:hover {

    color: #2563eb;
}


.mode-button.active {

    background: white;

    color: #2563eb;

    box-shadow:
        0 3px 12px
        rgba(15,23,42,0.08);
}


/* =========================================
   LABELS
========================================= */

label {

    display: block;

    font-size: 13px;

    font-weight: 700;

    color: #334155;

    margin-bottom: 7px;

}


.password-label {

    margin-top: 18px;
}


/* =========================================
   INPUTS
========================================= */

input,
select {

    width: 100%;

    height: 46px;

    border:
        1px solid #dbe3ef;

    border-radius: 11px;

    padding:
        0 14px;

    font-size: 14px;

    color: #0f172a;

    background:
        #f8fafc;

    outline: none;

    transition:
        all 0.25s ease;
}


input::placeholder {

    color: #94a3b8;
}


input:focus,
select:focus {

    border-color:
        #3b82f6;

    background: white;

    box-shadow:
        0 0 0 4px
        rgba(59,130,246,0.10);
}


/* =========================================
   PHONE ROW
========================================= */

.phone-row {

    display: grid;

    grid-template-columns:
        145px 1fr;

    gap: 9px;

    margin-bottom: 12px;
}


.phone-row select {

    cursor: pointer;
}


/* =========================================
   MAIN BUTTONS
========================================= */

#loginButton,
#sendOtpButton,
#verifyOtpButton,
#credentialButton {

    width: 100%;

    height: 47px;

    border: none;

    border-radius: 11px;

    margin-top: 18px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #1d4ed8
        );

    color: white;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 18px
        rgba(37,99,235,0.22);

    transition:
        all 0.25s ease;
}


#loginButton:hover,
#sendOtpButton:hover,
#verifyOtpButton:hover,
#credentialButton:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(37,99,235,0.30);
}


#loginButton:active,
#sendOtpButton:active,
#verifyOtpButton:active,
#credentialButton:active {

    transform:
        translateY(0);
}


/* =========================================
   CHANGE NUMBER
========================================= */

.change-button {

    width: 100%;

    border: none;

    background: transparent;

    color: #2563eb;

    font-size: 13px;

    font-weight: 600;

    margin-top: 12px;

    cursor: pointer;
}


.change-button:hover {

    text-decoration: underline;
}


/* =========================================
   MESSAGE
========================================= */

.message {

    min-height: 20px;

    margin-top: 12px;

    font-size: 13px;

    line-height: 1.5;

    text-align: center;
}


.message.success {

    color: #15803d;
}


.message.error {

    color: #dc2626;
}


/* =========================================
   SOCIAL LOGIN
========================================= */

.social-section {

    margin-top: 27px;
}


.or-line {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #94a3b8;

    font-size: 12px;

    margin-bottom: 16px;
}


.or-line::before,
.or-line::after {

    content: "";

    height: 1px;

    flex: 1;

    background: #e2e8f0;
}


.or-line span {

    font-weight: 600;
}


/* =========================================
   SOCIAL BUTTONS
========================================= */

.social-button {

    width: 100%;

    height: 43px;

    border:
        1px solid #e2e8f0;

    border-radius: 10px;

    background: white;

    margin-bottom: 9px;

    color: #334155;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    transition:
        0.25s ease;
}


.social-button span {

    font-weight: 800;

    min-width: 20px;
}


.social-button:hover {

    background: #f8fafc;

    border-color: #cbd5e1;

    transform:
        translateY(-1px);
}


/* =========================================
   ADMIN
========================================= */

.admin-login-button {

    width: 100%;

    height: 43px;

    margin-top: 9px;

    border:
        1px solid #cbd5e1;

    border-radius: 10px;

    background: #f8fafc;

    color: #334155;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition:
        0.25s ease;
}


.admin-login-button:hover {

    background: #f1f5f9;

    border-color: #94a3b8;
}


/* =========================================
   SECURITY
========================================= */

.security-note {

    margin-top: 20px;

    padding: 11px;

    text-align: center;

    background: #eff6ff;

    color: #475569;

    border-radius: 10px;

    font-size: 11px;

    border:
        1px solid #dbeafe;
}


/* =========================================
   BACK BUTTON
========================================= */

.back-button {

    display: block;

    width: 100%;

    border: none;

    background: transparent;

    color: #64748b;

    margin-top: 15px;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        0.2s ease;
}


.back-button:hover {

    color: #2563eb;
}


/* =========================================
   HIDDEN
========================================= */

.hidden {

    display: none !important;
}


/* =========================================
   DISABLED
========================================= */

button:disabled {

    opacity: 0.55;

    cursor: not-allowed;

    transform: none !important;

    box-shadow: none !important;
}


/* =========================================
   MOBILE
========================================= */

@media (
    max-width: 800px
) {

    body {

        padding: 15px;

    }


    .login-container {

        grid-template-columns: 1fr;

        max-width: 520px;

        min-height: auto;

        border-radius: 22px;

    }


    .login-info {

        padding: 35px 30px;

        text-align: center;

    }


    .brand-logo {

        margin-left: auto;

        margin-right: auto;

    }


    .login-info h1 {

        font-size: 30px;

    }


    .login-info p {

        margin-left: auto;

        margin-right: auto;

    }


    .features {

        text-align: left;

    }


    .login-box {

        padding:
            35px 25px;

    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (
    max-width: 430px
) {

    body {

        padding: 8px;

    }


    .login-container {

        border-radius: 18px;

    }


    .login-info {

        padding:
            28px 20px;

    }


    .login-info h1 {

        font-size: 25px;

    }


    .login-info p {

        font-size: 14px;

    }


    .login-box {

        padding:
            28px 18px;

    }


    .login-header h2 {

        font-size: 26px;

    }


    .phone-row {

        grid-template-columns:
            125px 1fr;

    }


    input,
    select {

        height: 44px;

        font-size: 13px;

    }

}