body {
    background: #f6f7f9;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.page-shell {
    min-height: 100vh;
}

.theme-site-header {
    background: #ffffff;
    border-top: 2px solid #0b5b73;
    border-bottom: 1px solid #dcdfe4;
}

.theme-site-header .container,
.theme-brand-bar .container,
.theme-section-nav .container,
.theme-utility-nav .container,
.content-wrapper .container {
    max-width: 1140px;
}

.theme-site-header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.theme-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-wordmark {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.theme-wordmark:hover {
    opacity: 0.95;
}

.theme-wordmark-image {
    display: block;
    height: 42px;
    width: auto;
}

.theme-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.theme-user-badge-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: #b42318;
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1;
}

.theme-user-badge:hover {
    opacity: 0.95;
}

.theme-user-menu .dropdown-toggle::after {
    margin-left: 0.5rem;
}

.theme-brand-bar {
    background: #e31837;
    color: #ffffff;
    padding: 10px 0;
}

.theme-brand-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.theme-section-nav {
    background: #8c0000;
}

.theme-section-nav .nav-link {
    color: rgba(255, 255, 255, 0.92);
    padding: 0.55rem 0.9rem;
    font-weight: 500;
    line-height: 1.15;
}

.theme-section-nav .navbar-nav {
    gap: 0.15rem;
}

.theme-section-nav .nav-link:hover,
.theme-section-nav .nav-link:focus,
.theme-section-nav .nav-link.active {
    color: #ffffff;
}

.theme-utility-nav {
    background: #ffffff;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.theme-utility-nav .nav-link {
    color: #223042;
    font-weight: 500;
    padding-left: 0;
    padding-right: 1.25rem;
}

.theme-utility-nav .nav-link.text-danger {
    color: #b42318 !important;
}

.content-wrapper {
    padding: 32px 0 48px;
}

.main-container {
    background: white;
    border-radius: 14px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.content-area {
    padding: 30px;
    min-height: 400px;
}

.footer-custom {
    background: #f8f9fa;
    color: #5f6b7a;
    text-align: center;
    padding: 18px 20px;
    border-top: 1px solid #dee2e6;
}

@media (max-width: 991.98px) {
    .theme-site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
    }

    .theme-header-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .theme-wordmark-image {
        height: 36px;
    }
}

