/* NHC Portal Site-Integrated Theme */

/* ═══ Site Header (above portal nav) ═══ */
.site-header {
    background: rgba(6,9,15,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid #1e293b;
    padding: 0 24px;
    font-family: 'Inter', sans-serif;
    position: sticky;
    top: 50px;
    z-index: 99;
}
.site-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    gap: 24px;
}
.site-header__brand {
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
}
.site-header__brand-name { color: #fff; }
.site-header__brand-accent { color: #ec3d3d; }
.site-header__nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: center;
}
.site-header__nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.15s;
    white-space: nowrap;
}
.site-header__nav a:hover { color: #fff; }
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.site-header__lang {
    color: #64748b;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}
.site-header__lang:hover { color: #fff; }
.site-header__login {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}
.site-header__login:hover { color: #fff; }
.site-header__cta {
    background: #ec3d3d;
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.site-header__cta:hover { background: #dc2626; }

/* ═══ Site Footer (above portal footer) ═══ */
.site-footer {
    background: #0b1120;
    border-top: 1px solid #1e293b;
    padding: 48px 24px 0;
    font-family: 'Inter', sans-serif;
}
.site-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.site-footer__brand {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}
.site-footer__brand-name { color: #fff; }
.site-footer__brand-accent { color: #ec3d3d; }
.site-footer__desc {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 16px;
}
.site-footer__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.site-footer__badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
}
.site-footer__badge--green {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}
.site-footer__badge--blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}
.site-footer__col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.site-footer__col-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}
.site-footer__col a {
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s;
}
.site-footer__col a:hover { color: #cbd5e1; }
.site-footer__bottom {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #475569;
}

/* Hide the default portal footer when site footer is shown */
.portal-footer {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header__nav { display: none; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .site-footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Fix admin sidebar position with site header */
.admin-sidebar {
    top: 90px !important;
    height: calc(100vh - 90px) !important;
}

/* Fix main content area with sidebar */
.portal-main--with-sidebar {
    margin-top: 0;
}
