:root {
    --hc-blue: #0b3f91;
    --hc-orange: #cf5a08;
    --hc-bg-top: #eef5ff;
    --hc-bg-bottom: #e9f1fb;
    --hc-muted: #6f7e93;
}

* { box-sizing: border-box; }

body {
    min-height: 100vh;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 50% 42%, rgba(255,255,255,.88) 0, rgba(255,255,255,.32) 23%, transparent 48%),
        linear-gradient(180deg, var(--hc-bg-top) 0%, var(--hc-bg-bottom) 100%);
    color: #202737;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.login-card {
    width: 100%;
    max-width: 465px;
    padding: 48px 32px 36px;
    border: 0;
    border-radius: 20px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 28px 56px rgba(52, 80, 121, .23);
}

.brand-logo {
    width: 100%;
    max-width: 335px;
    height: auto;
    display: block;
    margin: 0 auto 28px;
}

.login-title {
    margin-bottom: 2px;
    font-size: 1.45rem;
    font-weight: 700;
    color: #123a7c;
}

.login-subtitle {
    margin-bottom: 22px;
    font-size: .92rem;
    font-style: italic;
    color: var(--hc-blue);
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 22px;
    padding: 5px;
    border: 1px solid #d7e1ee;
    border-radius: 11px;
    background: #eef4fb;
}

.auth-tab {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #4d617c;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.auth-tab.active {
    background: #fff;
    color: var(--hc-blue);
    box-shadow: 0 6px 14px rgba(50, 76, 112, .12);
}

.form-label {
    margin-bottom: 7px;
    font-size: .93rem;
    font-weight: 700;
    color: #283243;
}

.required-mark {
    color: #c9362b;
}

.form-control,
.form-select {
    min-height: 42px;
    border-color: #c8d4e3;
    border-radius: 9px;
    font-size: .93rem;
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #7695c3;
}

.btn-login {
    min-height: 44px;
    border: 0;
    border-radius: 9px;
    background: var(--hc-orange);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    transition: transform .15s ease, filter .15s ease;
}

.btn-login:hover,
.btn-login:focus {
    background: var(--hc-orange);
    color: #fff;
    filter: brightness(.94);
    transform: translateY(-1px);
}

.demo-note {
    margin: 15px auto 0;
    max-width: 365px;
    font-size: .82rem;
    line-height: 1.55;
    color: #55657c;
}

.footer-copy {
    margin-top: 20px;
    font-size: .78rem;
    color: #8b9ab0;
}

@media (max-width: 576px) {
    .login-card {
        max-width: 420px;
        padding: 36px 22px 28px;
        border-radius: 16px;
    }

    .brand-logo { max-width: 285px; }
    .login-title { font-size: 1.25rem; }
    .auth-tabs { grid-template-columns: 1fr; }
}
