:root {
    --navy: #0f2744;
    --navy-2: #16365c;
    --accent: #1a7a6d;
    --gold: #c9a227;
    --page: #f4f6f8;
    --text: #1c2430;
    --muted: #5b6775;
    --sidebar-width: 260px;
}

body {
    color: var(--text);
    background: var(--page);
}

a {
    color: var(--accent);
}

.brand,
.sidebar-brand a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.guest-header {
    background: var(--navy);
}

.guest-body .hero {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%);
    color: #fff;
    padding: 3rem 0 2.5rem;
}

@media (min-width: 768px) {
    .guest-body .hero {
        padding: 4.5rem 0 4rem;
    }
}

.guest-body .hero h1 {
    max-width: 18ch;
    font-size: clamp(1.75rem, 4vw, 3.1rem);
    line-height: 1.15;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--gold);
}

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #15685d;
    border-color: #15685d;
}

.surface-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 8px 24px rgba(15, 39, 68, 0.05);
}

.app-sidebar {
    width: var(--sidebar-width);
    background: var(--navy);
    color: #d7e2ee;
    padding: 1.25rem 0 2rem;
}

.app-sidebar .nav-link {
    color: #d7e2ee;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.25rem;
    text-decoration: none;
}

.app-sidebar .nav-link i {
    width: 1.1rem;
}

.app-sidebar .nav-link.active,
.app-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.app-sidebar .nav-link.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.nav-section {
    margin: 1.1rem 1.25rem 0.35rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8ea0b5;
}

.sidebar-brand {
    padding: 0 1.25rem 1.25rem;
}

.stat-label {
    color: var(--muted);
    font-size: 0.85rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-hint {
    color: var(--muted);
    font-size: 0.9rem;
}

.app-footer a {
    color: var(--muted);
}

#mobileSidebar .app-sidebar {
    width: 100%;
    min-height: 100%;
}

@media (max-width: 575.98px) {
    input, select, textarea, .form-control, .form-select, .btn {
        font-size: 16px;
    }
}

.feedback-fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1040;
    box-shadow: 0 8px 24px rgba(15, 39, 68, 0.2);
}
