:root {
    --brand: #1f6f8b;
    --brand-dark: #174f63;
    --accent: #56cfe1;
    --bg-soft: #f5f7fb;
    --text-soft: #6c757d;
    --footer-bg: #1f4f82;
    --card-radius: 22px;
    --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.10);
}

html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top left, rgba(86, 207, 225, 0.15), transparent 28%), radial-gradient(circle at top right, rgba(31, 111, 139, 0.10), transparent 22%), linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
    color: #1f2937;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.top-line {
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
}

.site-header {
    padding: 28px 0 18px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
}

.logo-box {
    width: auto;
    height: 84px;
}

.site-title {
    font-weight: 700;
    letter-spacing: .02em;
    color: #223;
}

main {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0 56px;
}

.auth-wrapper {
    width: 100%;
}

.auth-card,
.info-card {
    border: 0;
    border-radius: var(--card-radius);
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

    .auth-card .card-body,
    .info-card .card-body {
        padding: 2rem;
    }

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    background: rgba(31,111,139,0.10);
    color: var(--brand);
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.auth-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: .35rem;
}

.auth-subtitle {
    color: var(--text-soft);
    margin-bottom: 1.6rem;
}

.form-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: .45rem;
}

.form-control {
    min-height: 50px;
    border-radius: 14px;
    border: 1px solid #dbe3ee;
    padding-left: 1rem;
    box-shadow: none;
}

    .form-control:focus {
        border-color: rgba(31,111,139,0.45);
        box-shadow: 0 0 0 .25rem rgba(31,111,139,0.12);
    }

.btn-brand {
    background: linear-gradient(135deg, var(--brand), #2f89a7);
    border: 0;
    color: #fff;
    border-radius: 14px;
    min-height: 50px;
    font-weight: 600;
    padding: .75rem 1.2rem;
    box-shadow: 0 12px 24px rgba(31,111,139,0.20);
}

    .btn-brand:hover {
        background: linear-gradient(135deg, var(--brand-dark), var(--brand));
        color: #fff;
    }

.link-muted {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
}

    .link-muted:hover {
        color: var(--brand);
    }

.required-note {
    color: #d97706;
    font-size: .92rem;
    font-weight: 600;
}

.soft-alert {
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff7db, #fff2bf);
    color: #7c5c11;
    padding: 1rem 1.1rem;
    margin-top: 1.25rem;
    font-size: .96rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: .95rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

    .feature-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.feature-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(31,111,139,0.12), rgba(86,207,225,0.18));
    color: var(--brand);
    font-size: 1.2rem;
}

.feature-item h6 {
    margin-bottom: .25rem;
    font-weight: 700;
}

.feature-item p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.45;
}

.site-footer {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--footer-bg), #336ea5);
    color: rgba(255,255,255,0.92);
    padding: 42px 0 18px;
    margin-top: auto;
}

.footer-brand {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .8rem;
}

.footer-text {
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
    max-width: 360px;
    font-size: 11px;
}

.footer-title {
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    margin-bottom: .9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li + li {
        margin-top: .65rem;
    }

    .footer-links a {
        color: rgba(255,255,255,0.82);
        text-decoration: none;
    }

        .footer-links a:hover {
            color: #fff;
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.16);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.72);
    font-size: .92rem;
}

@media (max-width: 991.98px) {
    main {
        padding-top: 24px;
    }

    .auth-card .card-body,
    .info-card .card-body {
        padding: 1.5rem;
    }
}
