/* ==========================================================================
   23. DOCUMENT CENTER TOP TABS Sizing
   ========================================================================== */
.nav-line li a, .nav-tabs li a, .tab-nav li a {
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    padding-bottom: 10px !important;
}

/* ==========================================================================
   24. DOCUMENT CENTER REFINEMENTS & COMPLEX GLASS PANEL
   ========================================================================== */
.section.dark, .gdc-glass-panel {
    background: linear-gradient(
      135deg, 
      rgba(14, 116, 144, 0.12) 0%, 
      rgba(15, 23, 42, 0.35) 100%
    ) !important;
    backdrop-filter: blur(6px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(6px) saturate(140%) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    border-radius: 16px !important;
    box-shadow: 
      0 15px 35px 0 rgba(0, 0, 0, 0.40), 
      0 0 25px 2px rgba(56, 189, 248, 0.30), 
      inset 1px 1px 2px 0 rgba(255, 255, 255, 0.70), 
      inset -1px -1px 2px 0 rgba(56, 189, 248, 0.40), 
      inset 0 0 15px 0 rgba(56, 189, 248, 0.15) !important;
}

details.gdc-year-group {
    background-color: rgba(15, 23, 40, 0.7) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

details.gdc-year-group > div {
    background: linear-gradient( 145deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 70%, rgba(255, 255, 255, 0) 100% ) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.gdc-year-group summary > span {
    font-size: 18px !important;
    padding: 4px 12px !important;
}

/* ==========================================================================
   25. CROWN JEWEL GLASSMORPHISM SIDEBAR (HIGH CLARITY LUMINOUS ENGINE)
   ========================================================================== */

/* Outer Theme Sidebar Wrapper Reset */
.large-3.col, #secondary, .widget-area, aside.widget-area, .col-sidebar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Dedicated Inner Glass Chassis */
.gdc-sidebar-glass-chassis {
    width: 100% !important;
    padding: 25px !important;
    box-sizing: border-box !important;
    margin-bottom: 30px !important;
    background: linear-gradient(
      135deg, 
      rgba(14, 116, 144, 0.12) 0%, 
      rgba(15, 23, 42, 0.35) 100%
    ) !important;
    backdrop-filter: blur(6px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(6px) saturate(140%) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    border-radius: 16px !important;
    box-shadow: 
      0 15px 35px 0 rgba(0, 0, 0, 0.40), 
      0 0 25px 2px rgba(56, 189, 248, 0.30), 
      inset 1px 1px 2px 0 rgba(255, 255, 255, 0.70), 
      inset -1px -1px 2px 0 rgba(56, 189, 248, 0.40), 
      inset 0 0 15px 0 rgba(56, 189, 248, 0.15) !important;
    display: block !important;
    overflow: hidden !important;
}

/* Master Sidebar Header Title */
.gdc-sidebar-main-title {
    color: #FFFFFF !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    text-align: center !important;
    margin: 0 0 20px 0 !important;
    border-bottom: 1.5px solid rgba(56, 189, 248, 0.5) !important;
    padding-bottom: 10px !important;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5) !important;
    display: block !important;
    width: 100% !important;
}

/* Translucent Sub-Cards (Meeting, Office Hours, Pool) - Luminous Stacked Glass */
.gdc-sidebar-card-box {
    background: linear-gradient(
      135deg, 
      rgba(14, 116, 144, 0.20) 0%, 
      rgba(15, 23, 42, 0.45) 100%
    ) !important;
    backdrop-filter: blur(6px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(6px) saturate(140%) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    border-radius: 10px !important;
    padding: 16px !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    box-shadow: 
      0 4px 15px 0 rgba(0, 0, 0, 0.30), 
      0 0 15px 1px rgba(56, 189, 248, 0.25), 
      inset 1px 1px 2px 0 rgba(255, 255, 255, 0.60), 
      inset -1px -1px 2px 0 rgba(56, 189, 248, 0.30) !important;
    display: block !important;
    clear: both !important;
    box-sizing: border-box !important;
}

/* Label Formatting - Enforces Line Break Above Value */
.gdc-sidebar-card-label {
    display: block !important;
    color: #94A3B8 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 8px !important;
    width: 100% !important;
    line-height: 1.3 !important;
}

/* Value Formatting - Positioned Cleanly Below Label */
.gdc-sidebar-card-val {
    display: block !important;
    color: #FFFFFF !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    margin-top: 4px !important;
    line-height: 1.3 !important;
    width: 100% !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4) !important;
}

/* Pool Status Indicators */
.gdc-pool-val-open {
    color: #10B981 !important;
    text-shadow: 0 0 10px #10B981 !important;
}
.gdc-pool-val-closed, 
.gdc-pool-val-maintenance {
    color: #EF4444 !important;
    text-shadow: 0 0 10px #EF4444 !important;
}

/* Glowing Blueprint Line Separator */
.gdc-sidebar-divider {
    border-top: 1.5px solid rgba(56, 189, 248, 0.6) !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5) !important;
    margin: 20px 0 !important;
    width: 100% !important;
    display: block !important;
}

/* Accordion Drawer Boxes - Luminous Stacked Glass */
.gdc-sidebar-drawer {
    margin-bottom: 14px !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    border-radius: 10px !important;
    background: linear-gradient(
      135deg, 
      rgba(14, 116, 144, 0.15) 0%, 
      rgba(15, 23, 42, 0.40) 100%
    ) !important;
    backdrop-filter: blur(6px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(6px) saturate(140%) !important;
    overflow: hidden !important;
    box-shadow: 
      0 4px 15px 0 rgba(0, 0, 0, 0.30), 
      0 0 15px 1px rgba(56, 189, 248, 0.20), 
      inset 1px 1px 2px 0 rgba(255, 255, 255, 0.50), 
      inset -1px -1px 2px 0 rgba(56, 189, 248, 0.25) !important;
    display: block !important;
    box-sizing: border-box !important;
}

.gdc-sidebar-drawer summary::-webkit-details-marker { 
    display: none !important; 
}

.gdc-sidebar-drawer summary {
    list-style: none !important;
    outline: none !important;
    padding: 14px 16px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: rgba(15, 23, 42, 0.2) !important;
    transition: all 0.2s ease !important;
    min-height: 54px !important;
    box-sizing: border-box !important;
}

.gdc-sidebar-drawer summary:hover { 
    background: rgba(56, 189, 248, 0.15) !important; 
}

.gdc-sidebar-drawer[open] summary {
    border-bottom: 1px solid rgba(56, 189, 248, 0.4) !important;
}

/* Stacked High-Legibility Title Formatting */
.gdc-sidebar-drawer-title-stacked {
    color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: block !important;
}

.gdc-sidebar-drawer-caret {
    font-size: 14px !important;
    color: #FFFFFF !important;
    display: inline-block !important;
}

/* Drawer Interior Articles */
.gdc-sidebar-drawer-body {
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.gdc-drawer-item {
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 12px 14px !important;
    border-radius: 6px !important;
    border-left: 3px solid #38BDF8 !important;
    text-align: left !important;
    text-decoration: none !important;
    display: block !important;
    transition: background 0.2s ease !important;
}

.gdc-drawer-item:hover {
    background: rgba(56, 189, 248, 0.15) !important;
}

/* Prevent double-nesting inside widget areas */
.sidebar-inner aside.widget, 
.sidebar-inner aside.block_widget, 
#secondary aside.widget, 
.col-sidebar aside.widget {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}