/* ==========================================================================
   OpZone - dashboard & app-shell
   Role: app-shell utilities (login/info containers, mobile nav drawer),
         page defaults, onboarding overlay, dashboard sidebar, and the
         Developer/Admin active-tab treatment.
   Load position: 2 of 8 in the website opz-*.css chain.
   ========================================================================== */

/* ==========================================================================
   01 LOGIN / INFO CONTAINERS
   ========================================================================== */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 24px;
}

.info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* ==========================================================================
   02 MOBILE NAV DRAWER
   ========================================================================== */
.opz-nav-inline {
    display: flex;
    align-items: center;
}

.opz-nav-link {
    font-size: 0.8125rem;
    line-height: 1.75;
    font-weight: 400;
    white-space: nowrap;
}

.opz-nav-menu-btn {
    display: none;
}

.opz-nav-drawer {
    --mud-drawer-width: 280px;
}

.opz-nav-drawer-header {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: var(--opz-paper);
    border-bottom: 1px solid var(--opz-hair);
}

.opz-nav-drawer-brand {
    display: block;
    line-height: 0;
}

.opz-nav-drawer-brand img {
    height: 28px;
    width: auto;
    display: block;
}

.opz-nav-drawer-divider {
    margin: 8px 20px;
}

/* ==========================================================================
   03 TABS
   Developer/Admin uses Color.Dark; this keeps the active tab readable on the
   dark tab bar. Scoped to .mud-active-tab (no .opz-siteadmin-* prefix) and
   intentionally separate from the load-bearing .opz-siteadmin-tabs block in
   opz-mud-overrides.css.
   ========================================================================== */
.mud-active-tab {
    background-color: rgba(33, 33, 33, 0.7);
}

/* ==========================================================================
   04 PAGE DEFAULTS
   ========================================================================== */
.opz-page-large {
    padding: 24px;
    max-width: 2100px;
    margin: 0 auto;
}

.opz-page {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.opz-page-header {
    margin-bottom: 24px;
}

.opz-dashboard-heading {
    color: var(--opz-signal);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.opz-page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--opz-ink);
    margin: 0;
}

.opz-page-header p {
    color: var(--opz-ink-3);
    margin: 4px 0 0 0;
}

/* ==========================================================================
   05 DASHBOARD SHELL
   Replaces the layout MudPapers in DashboardCommon.razor.
   ========================================================================== */
.opz-dashboard-sidebar {
    background: var(--mud-palette-surface);
    border-right: 1px solid var(--opz-panel-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   06 SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: var(--opz-hair-2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--opz-ink-3);
}

/* ==========================================================================
   07 ONBOARDING OVERLAY
   ========================================================================== */
.opz-onboarding-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.opz-onboarding-panel {
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    position: relative;
}

.opz-onboarding-close {
    position: absolute;
    top: 8px;
    right: 8px;
}
