
/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   ROOT
========================================================= */

:root {

    --primary: #2563eb;
    --primary-dark: #1d4ed8;

    --dark: #0f172a;
    --dark-blue: #123477;

    --text: #1e293b;
    --muted: #64748b;

    --border: #dbe3ee;

    --background: #f8fafc;

    --white: #ffffff;
}


/* =========================================================
   BODY
========================================================= */

body {

    font-family: "Inter", sans-serif;

    min-height: 100vh;

    background: var(--background);

    color: var(--text);

}


/* =========================================================
   PAGE
========================================================= */

.page-wrapper {

    min-height: 100vh;

    display: flex;

}


/* =========================================================
   LEFT BRAND SECTION
========================================================= */

.brand-section {

    width: 50%;

    min-height: 100vh;

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 55px 70px;

    color: white;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(59,130,246,.22),
            transparent 25%
        ),
        linear-gradient(
            145deg,
            #0f2b68 0%,
            #0b3b91 50%,
            #082d73 100%
        );

}


/* Decorative Circle */

.brand-section::before {

    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 50%;

    right: -250px;
    bottom: -200px;

}


.brand-section::after {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border: 1px solid rgba(255,255,255,.06);

    border-radius: 50%;

    left: -190px;
    bottom: -120px;

}


/* =========================================================
   BRAND CONTENT
========================================================= */

.brand-content {

    position: relative;

    z-index: 2;

}


/* =========================================================
   LOGO
========================================================= */

.brand-logo {

    display: flex;

    align-items: center;

    gap: 16px;

}


.logo-icon {

    width: 58px;
    height: 58px;

    border-radius: 15px;

    background: rgba(255,255,255,.10);

    border: 1px solid rgba(255,255,255,.16);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 32px;

}


.brand-name h1 {

    font-size: 34px;

    font-weight: 800;

    letter-spacing: -1px;

}


.brand-name h1 span {

    color: #60a5fa;

}


.brand-name p {

    font-size: 12px;

    color: #cbd5e1;

    margin-top: 3px;

}


/* =========================================================
   BRAND MESSAGE
========================================================= */

.brand-message {

    margin-top: 105px;

    max-width: 540px;

}


.small-line {

    width: 52px;

    height: 3px;

    background: #60a5fa;

    border-radius: 10px;

    margin-bottom: 25px;

}


.brand-message h2 {

    font-size: clamp(35px, 4vw, 52px);

    line-height: 1.12;

    letter-spacing: -1.8px;

}


.brand-message h2 span {

    display: block;

    color: #60a5fa;

}


.brand-message p {

    margin-top: 22px;

    max-width: 500px;

    color: #cbd5e1;

    line-height: 1.7;

    font-size: 14px;

}


/* =========================================================
   FEATURES
========================================================= */

.features {

    margin-top: 48px;

    display: flex;

    flex-direction: column;

    gap: 20px;

}


.feature {

    display: flex;

    align-items: center;

    gap: 16px;

}


.feature-icon {

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    border-radius: 13px;

    background: rgba(59,130,246,.45);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 23px;

}


.feature-content h3 {

    font-size: 15px;

    font-weight: 700;

}


.feature-content p {

    font-size: 12px;

    color: #bfdbfe;

    margin-top: 5px;

}


/* =========================================================
   SECURITY
========================================================= */

.security-row {

    display: flex;

    align-items: center;

    gap: 17px;

    margin-top: 48px;

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,.1);

    color: #e2e8f0;

    font-size: 13px;

}


.security-row div {

    display: flex;

    align-items: center;

    gap: 6px;

}


.security-row i {

    color: #93c5fd;

    font-size: 17px;

}


.security-row span {

    color: #60a5fa;

}


/* =========================================================
   FOOTER
========================================================= */

.brand-footer {

    position: relative;

    z-index: 2;

    color: #94a3b8;

    font-size: 11px;

}


/* =========================================================
   RIGHT SECTION
========================================================= */

.form-section {

    width: 50%;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px;

    background: #ffffff;

}


/* =========================================================
   FORM CONTAINER
========================================================= */

.form-container {

    width: 100%;

    max-width: 470px;

}


/* =========================================================
   LOGIN CARD
========================================================= */

.login-card {

    background: #ffffff;

    border: 1px solid #edf1f6;

    border-radius: 18px;

    padding: 42px 40px;

    box-shadow:
        0 20px 60px rgba(15,23,42,.07);

}


/* =========================================================
   FORM HEADER
========================================================= */

.form-header {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 35px;

}


.login-icon {

    width: 50px;
    height: 50px;

    flex-shrink: 0;

    border-radius: 13px;

    background: #eff6ff;

    color: var(--primary);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 25px;

}


.form-header h1 {

    font-size: 29px;

    font-weight: 800;

    color: #0f172a;

    letter-spacing: -.8px;

}


.form-header p {

    margin-top: 6px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.5;

}


/* =========================================================
   INPUT
========================================================= */

.input-box {

    margin-bottom: 22px;

}


.input-box label {

    display: block;

    font-size: 13px;

    font-weight: 600;

    color: #334155;

    margin-bottom: 8px;

}


.input-wrapper {

    position: relative;

}


.input-field {

    width: 100%;

    height: 55px;

    border: 1px solid var(--border);

    border-radius: 11px;

    background: #ffffff;

    outline: none;

    padding: 0 48px;

    font-family: inherit;

    font-size: 14px;

    color: var(--text);

    transition: .25s;

}


.input-field::placeholder {

    color: #94a3b8;

}


.input-field:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(37,99,235,.08);

}


.input-icon {

    position: absolute;

    left: 17px;

    top: 50%;

    transform: translateY(-50%);

    color: #94a3b8;

    font-size: 20px;

    pointer-events: none;

}


.toggle-password {

    position: absolute;

    right: 17px;

    top: 50%;

    transform: translateY(-50%);

    color: #94a3b8;

    font-size: 20px;

    cursor: pointer;

}


.toggle-password:hover {

    color: var(--primary);

}


/* =========================================================
   REMEMBER ME
========================================================= */

.remember-row {

    margin-top: -3px;

    margin-bottom: 25px;

}


.remember {

    display: flex;

    align-items: center;

    gap: 8px;

    cursor: pointer;

    color: var(--muted);

    font-size: 12px;

}


.remember input {

    width: 15px;

    height: 15px;

    accent-color: var(--primary);

}


/* =========================================================
   BUTTON
========================================================= */

.btn-submit {

    width: 100%;

    height: 55px;

    border: none;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #1d4ed8
        );

    color: white;

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    box-shadow:
        0 8px 20px rgba(37,99,235,.20);

    transition: .25s;

}


.btn-submit i {

    font-size: 20px;

    transition: .25s;

}


.btn-submit:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(37,99,235,.28);

}


.btn-submit:hover i {

    transform: translateX(4px);

}


/* =========================================================
   SECURITY MESSAGE
========================================================= */

.secure-message {

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #edf1f6;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    color: #94a3b8;

    font-size: 11px;

}


.secure-message i {

    color: #22c55e;

    font-size: 17px;

}


/* =========================================================
   MOBILE LOGO
========================================================= */

.mobile-logo {

    display: none;

}


.mobile-footer {

    display: none;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .brand-section {

        width: 45%;

        padding: 45px;

    }


    .form-section {

        width: 55%;

        padding: 30px;

    }


    .brand-message {

        margin-top: 80px;

    }


    .brand-message h2 {

        font-size: 38px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    body {

        background: #f8fafc;

    }


    .page-wrapper {

        display: block;

        min-height: 100vh;

    }


    /* Hide desktop branding */

    .brand-section {

        display: none;

    }


    .form-section {

        width: 100%;

        min-height: 100vh;

        padding: 25px 18px;

        display: flex;

        align-items: flex-start;

        justify-content: center;

    }


    .form-container {

        width: 100%;

        max-width: 500px;

    }


    /* Mobile Logo */

    .mobile-logo {

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 11px;

        margin: 5px 0 30px;

    }


    .mobile-logo-icon {

        width: 46px;
        height: 46px;

        border-radius: 13px;

        background: #eff6ff;

        color: var(--primary);

        display: flex;

        align-items: center;
        justify-content: center;

        font-size: 25px;

    }


    .mobile-logo h2 {

        font-size: 24px;

        font-weight: 800;

        color: #0f172a;

    }


    .mobile-logo h2 span {

        color: var(--primary);

    }


    .mobile-logo p {

        margin-top: 2px;

        color: var(--muted);

        font-size: 10px;

    }


    /* Login Card */

    .login-card {

        padding: 32px 24px;

        border-radius: 16px;

        box-shadow:
            0 10px 35px rgba(15,23,42,.06);

    }


    .form-header {

        margin-bottom: 30px;

    }


    .login-icon {

        width: 45px;
        height: 45px;

        font-size: 22px;

    }


    .form-header h1 {

        font-size: 25px;

    }


    .form-header p {

        font-size: 12px;

    }


    .input-field {

        height: 53px;

    }


    .btn-submit {

        height: 53px;

    }


    .mobile-footer {

        display: block;

        text-align: center;

        margin-top: 22px;

        color: #94a3b8;

        font-size: 10px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .form-section {

        padding: 20px 14px;

    }


    .mobile-logo {

        margin-bottom: 25px;

    }


    .mobile-logo-icon {

        width: 42px;
        height: 42px;

        font-size: 23px;

    }


    .mobile-logo h2 {

        font-size: 22px;

    }


    .login-card {

        padding: 28px 20px;

    }


    .form-header h1 {

        font-size: 23px;

    }


    .form-header p {

        font-size: 11px;

    }


    .secure-message {

        font-size: 10px;

    }

}
