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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6fa;
    color: #111827;
}


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

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 45% 55%;
}


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

.brand-panel {
    background: #07172b;
    color: white;
    padding: 45px 7%;
    min-height: 100vh;
}

.brand-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}


/* LOGO */

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
}

.logo-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}


/* BRAND MESSAGE */

.brand-message {
    margin-top: 95px;
    max-width: 500px;
}

.brand-message h1 {
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.05;
    font-weight: 700;
}

.brand-message h1 span {
    color: #00a99d;
}

.brand-message p {
    margin-top: 25px;
    color: #a6b1c2;
    font-size: 15px;
    line-height: 1.7;
    max-width: 470px;
}


/* =========================
   ILLUSTRATION
========================= */

.illustration-card {
    width: 80%;
    max-width: 440px;
    height: 230px;
    margin: 35px auto 30px;
    border-radius: 15px;
    background: linear-gradient(
        180deg,
        #08152a,
        #101f3a
    );
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.illustration-content {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 25px;
    background: #122944;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
}

.illustration-icon {
    font-size: 65px;
    color: #00a99d;
    transform: rotate(-45deg);
}

.illustration-icon.small {
    position: absolute;
    font-size: 25px;
    color: #b8c5d7;
}

.illustration-icon.small:nth-child(2) {
    top: -35px;
    left: -25px;
}

.illustration-icon.small:nth-child(3) {
    right: -35px;
    top: -20px;
}

.illustration-icon.small:nth-child(4) {
    right: -40px;
    bottom: -25px;
}


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

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.feature {
    display: flex;
    gap: 12px;
}

.feature-icon {
    min-width: 32px;
    height: 32px;
    border-radius: 7px;
    background: #092d42;
    color: #00b4a8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature h3 {
    font-size: 13px;
    margin-bottom: 6px;
}

.feature p {
    font-size: 11px;
    line-height: 1.5;
    color: #8d9bad;
}


/* =========================
   BRAND FOOTER
========================= */

.brand-footer {
    margin-top: auto;
    padding-top: 50px;
    display: flex;
    justify-content: space-between;
    color: #758196;
    font-size: 10px;
}

.brand-footer a {
    color: #758196;
    text-decoration: none;
    margin-left: 20px;
}


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

.login-panel {
    background: #f8f9fb;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.login-container {
    width: 100%;
    max-width: 570px;
}


/* HEADER */

.login-header h2 {
    font-size: 30px;
    color: #101827;
}

.login-header p {
    margin-top: 10px;
    color: #858c98;
    font-size: 13px;
}


/* =========================
   SOCIAL BUTTONS
========================= */

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.social-btn {
    height: 45px;
    border: 1px solid #d9dde4;
    border-radius: 6px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #1f2937;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.social-btn:hover {
    border-color: #aeb5c1;
    transform: translateY(-1px);
}

.social-icon {
    font-weight: bold;
    font-size: 16px;
}


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

.divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 22px 0;
}

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

.divider span {
    color: #8b919b;
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
}


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

.form-group {
    margin-bottom: 17px;
}

.form-group label,
.password-label label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #303846;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    height: 45px;
    border: 1px solid #d8dce3;
    border-radius: 6px;
    padding: 0 13px;
    font-size: 12px;
    background: white;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: #00a99d;
}


/* PASSWORD */

.password-label {
    display: flex;
    justify-content: space-between;
}

.password-label a {
    font-size: 10px;
    color: #00a99d;
    text-decoration: none;
    font-weight: 600;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    color: #7d8592;
}


/* =========================
   REMEMBER ME
========================= */

.remember-me {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #747b87;
    font-size: 11px;
    margin: 5px 0 18px;
}

.remember-me input {
    accent-color: #00a99d;
}


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

.login-btn {
    width: 100%;
    height: 47px;
    border: none;
    border-radius: 5px;
    background: #0c162a;
    color: white;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}

.login-btn:hover {
    background: #13213a;
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.arrow {
    font-size: 18px;
}


/* =========================
   MESSAGE
========================= */

.login-message {
    min-height: 20px;
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
}


/* =========================
   SIGNUP
========================= */

.signup-text {
    text-align: center;
    color: #777e89;
    font-size: 11px;
    margin-top: 30px;
}

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


/* =========================
   TRUST BOX
========================= */

.trust-box {
    display: flex;
    gap: 12px;
    border: 1px solid #e0e4ea;
    border-radius: 8px;
    padding: 15px;
    margin-top: 25px;
    background: white;
}

.trust-icon {
    color: #146cff;
    font-size: 17px;
}

.trust-box h3 {
    font-size: 11px;
    margin-bottom: 5px;
}

.trust-box p {
    color: #9298a2;
    font-size: 9px;
    line-height: 1.5;
}


/* =========================
   SECURITY
========================= */

.security-info {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    color: #8c939e;
    font-size: 8px;
}

.system-status {
    text-align: center;
    margin-top: 25px;
    color: #7f8792;
    font-size: 8px;
    letter-spacing: 0.7px;
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00a99d;
    margin-right: 5px;
}


/* =========================
   FOOTER
========================= */

.login-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.login-footer a {
    color: #8b919b;
    font-size: 8px;
    text-decoration: none;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .login-page {
        grid-template-columns: 1fr;
    }

    .brand-panel {
        min-height: auto;
        padding: 35px 8%;
    }

    .brand-message {
        margin-top: 60px;
    }

    .brand-footer {
        margin-top: 40px;
    }

    .login-panel {
        min-height: auto;
        padding: 60px 8%;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .brand-panel {
        padding: 30px 22px;
    }

    .brand-message {
        margin-top: 45px;
    }

    .brand-message h1 {
        font-size: 36px;
    }

    .brand-message p {
        font-size: 13px;
    }

    .illustration-card {
        width: 100%;
        height: 190px;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .brand-footer {
        flex-direction: column;
        gap: 15px;
    }

    .brand-footer a {
        margin-left: 0;
        margin-right: 15px;
    }

    .login-panel {
        padding: 45px 22px;
    }

    .social-login {
        grid-template-columns: 1fr;
    }

    .login-header h2 {
        font-size: 26px;
    }

    .security-info {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .login-footer {
        flex-wrap: wrap;
    }
}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 380px) {

    .brand-message h1 {
        font-size: 31px;
    }

    .login-panel {
        padding: 35px 17px;
    }

    .login-container {
        max-width: 100%;
    }
}