
.login-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    background: #ffffff;
}

.login-brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 9%;
    color: #ffffff;
    background: linear-gradient(145deg, #171b3b, #27265b 55%, #4338a9);
}

.brand-content {
    max-width: 560px;
    margin: auto 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 64px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 22px;
    font-weight: 800;
}

.brand-label {
    margin-bottom: 18px;
    color: #c7d2fe;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.brand-content h1 {
    margin-bottom: 24px;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -1px;
}

.brand-description {
    max-width: 450px;
    color: #d5d8ee;
    font-size: 14px;
    line-height: 1.9;
}

.brand-features {
    display: grid;
    gap: 16px;
    margin-top: 38px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(165, 180, 252, 0.18);
    color: #c7d2fe;
}

.brand-footer {
    color: #b8bcda;
    font-size: 10px;
    letter-spacing: 1px;
}

.login-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 48px 32px 24px;
}

.login-box {
    width: 100%;
    max-width: 420px;
}

.mobile-logo {
    display: none;
}

.welcome-text {
    margin-bottom: 12px;
    color: #4f46e5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.login-box h2 {
    margin-bottom: 12px;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}

.login-subtitle {
    margin-bottom: 36px;
    color: #748096;
    font-size: 13px;
    line-height: 1.9;
}

.form-label {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
}

.custom-input {
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #e4e8f0;
    border-radius: 10px;
    color: #172033;
    font-size: 13px;
    box-shadow: none;
}

.custom-input::placeholder {
    color: #9aa2b2;
}

.custom-input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.09);
}

.forgot-link {
    color: #4f46e5;
    font-size: 12px;
    font-weight: 600;
}

.forgot-link:hover {
    color: #3730a3;
    text-decoration: underline;
}

.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    border: none;
    border-radius: 10px;
    background: #4f46e5;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.login-button:hover {
    background: #3730a3;
    color: #ffffff;
}

.login-message {
    min-height: 20px;
    margin: 14px 0 0;
    color: #3730a3;
    font-size: 12px;
    line-height: 1.8;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 38px;
    color: #748096;
    font-size: 11px;
    line-height: 1.8;
    text-align: center;
}

.login-copyright {
    margin-top: 56px;
    color: #9aa2b2;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 900px) {
    .login-brand {
        padding: 40px 8%;
    }

    .brand-content h1 {
        font-size: 34px;
    }

    .login-panel {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 650px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .login-brand {
        display: none;
    }

    .login-panel {
        min-height: 100vh;
        padding: 36px 24px 20px;
    }

    .mobile-logo {
        display: block;
        margin-bottom: 48px;
        color: #4f46e5;
        font-size: 23px;
        font-weight: 800;
    }

    .mobile-logo span {
        margin-left: 6px;
        color: #172033;
        font-size: 14px;
    }

    .login-box h2 {
        font-size: 29px;
    }

    .login-copyright {
        margin-top: 40px;
    }
}
