/* ==========================================================================
10. GDC UNIFIED UI TOOLKIT: GLOBAL ACTION BUTTON BLUEPRINT
========================================================================== */
.gdc-ui-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease-in-out !important;
  cursor: pointer !important;
  text-align: center !important;
  width: fit-content !important;
  margin: 10px auto !important;
}

.gdc-btn-emerald-ghost {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: #537792 !important;
  color: #ffffff !important;
}

.gdc-btn-emerald-ghost:hover {
  background-color: rgba(16, 185, 129, 0.1) !important;
}

.gdc-btn-teal-solid {
  background-color: transparent !important;
  border: 1px solid #38BDF8 !important; 
  color: #38BDF8 !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
  min-height: 0 !important;
  width: max-content !important;
  display: inline-flex !important;
  line-height: 1.2 !important;
}

.gdc-btn-teal-solid:hover {
  background-color: #38BDF8 !important;
  color: #0F172A !important;
}

/* ==========================================================================
11. GDC STATIC STATUS BADGES (NON-INTERACTIVE) - ITEM E FIX
========================================================================== */
.gdc-badge, .gdc-pill, span[style*="border-radius: 6px"] {
  white-space: nowrap !important; 
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-sizing: border-box !important;
  min-width: 140px !important;
  flex-shrink: 0 !important;
  cursor: default !important; 
  pointer-events: none !important; 
}

.gdc-badge-amber {
  color: #F59E0B !important;
  background-color: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

.gdc-badge-blue {
  color: #3B82F6 !important;
  background-color: rgba(59, 130, 246, 0.15) !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

.gdc-badge-green {
  color: #10B981 !important;
  background-color: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

/* ==========================================================================
12. FORCE MAXIMUM VISIBILITY ON ALL REGISTRATION FORM LABELS & TEXT
========================================================================== */
.acf-form-reveal, .frontend-admin-form label, .acf-label label, .acf-form-fields .acf-label, .acf-field .acf-label label, #gdc-login-form label, p.gdc-portal-notice, form label {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8) !important;
  display: block !important;
  margin-bottom: 8px !important;
}

.acf-description, .acf-notice, p.description {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}

/* ==========================================================================
14. MOBILE LOGOUT BUTTON SLIMMING STYLE
========================================================================== */
@media (max-width: 1024px) {
  header a[href*="logout"], .logout-item, a.logout, li.menu-item a[href*="logout"] {
    width: auto !important; 
    max-width: 120px !important; 
    padding: 5px 12px !important; 
    font-size: 11px !important; 
    background-color: #1c3a5f !important;
    border: 1px solid #2d5584 !important; 
    box-shadow: none !important; 
    margin: 5px auto !important; 
    display: inline-flex !important;
  }
}

/* ==========================================================================
15. CROWN JEWEL SMOKED GLASSMORPHISM ENGINE
========================================================================== */
.section.dark .section-bg, .section.dark .section-bg-overlay, .section.dark .col-inner, .section.dark .tab-panels, .section.dark .tab-content, .section.dark .panel {
  background: transparent !important; 
  border: none !important; 
  box-shadow: none !important;
}

.gdc-glass-panel, .gdc-global-card, .section.dark {
  background-color: rgba(26, 26, 26, 0.4) !important; 
  backdrop-filter: blur(2px) !important; 
  -webkit-backdrop-filter: blur(2px) !important; 
  border: 1px solid #648BA5 !important; 
  border-radius: 15px !important;
  box-shadow: 0 0 6px rgba(100, 139, 165, 0.5), 0 10px 40px rgba(0,0,0,0.6) !important; 
  padding: 25px !important; 
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* ==========================================================================
16. DOCUMENT CENTER ACCESSIBILITY & CONTRAST FIXES
========================================================================== */
div[style*="border-bottom: 2px solid #648BA5"] h3[style*="color: #1F2937"] { 
  color: #8AB4F8 !important; 
}

div[style*="border-bottom: 2px solid #648BA5"] span[style*="color: #6B7280"] { 
  color: #e2e8f0 !important; 
}

.tab-panels h1, .tab-panels h2, .tab-panels h3, .tab-panels h4, .tab-panels h5, .tab-panels h6 { 
  color: #ffffff !important; 
}

/* ==========================================================================
17. DOCUMENT CENTER ACCORDION DRAWERS (DEEP DARK BLUE)
========================================================================== */
.gdc-year-group { 
  border: 1px solid #648BA5 !important; 
  border-radius: 8px !important; 
  overflow: hidden !important;
  box-shadow: 0 0 5px rgba(100, 139, 165, 0.4) !important; 
}

.gdc-year-group summary img { 
  height: 45px !important; 
  width: auto !important; 
}

.gdc-year-group summary { 
  background-color: #111827 !important; 
  border-bottom: 1px solid #648BA5 !important; 
  transition: background-color 0.2s ease !important; 
}

.gdc-year-group summary:hover { 
  background-color: #1a253c !important; 
}

.gdc-year-group > div { 
  background-color: #1E2B3C !important; 
  border: none !important; 
}

.gdc-year-group > div > div { 
  background-color: transparent !important; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; 
}

.gdc-year-group > div > div strong { 
  color: #ffffff !important; 
}

.gdc-year-group h4 { 
  color: #38bdf8 !important; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; 
}

/* ==========================================================================
18. DRAWER INTERIOR BUTTONS (THE COMMAND TERMINAL GHOST BUTTONS)
========================================================================== */
.gdc-year-group a[style*="#648BA5"], .gdc-year-group a[target="_blank"] { 
  background: rgba(255, 255, 255, 0.08) !important; 
  border: 1px solid #537792 !important; 
  color: #ffffff !important;
  padding: 6px 16px !important;
  border-radius: 6px !important; 
  font-weight: 700 !important; 
  text-transform: uppercase !important; 
  letter-spacing: 1px !important; 
  transition: all 0.2s ease !important;
  box-shadow: 0 0 5px rgba(100, 139, 165, 0.3) !important; 
}

.gdc-year-group a[style*="#648BA5"]:hover, .gdc-year-group a[target="_blank"]:hover { 
  background: #648BA5 !important; 
  color: #ffffff !important; 
  box-shadow: 0 0 10px rgba(100, 139, 165, 0.8) !important;
}

/* ==========================================================================
19. STEALTH GHOST HEADER BUTTONS
========================================================================== */
.gdc-stealth-btn { 
  background-color: rgba(255, 255, 255, 0.08) !important; 
  border: 1px solid #537792 !important; 
  color: #ffffff !important; 
  padding: 6px 18px !important;
  border-radius: 6px !important;
  font-size: 13px !important; 
  font-weight: 800 !important; 
  text-transform: uppercase !important; 
  letter-spacing: 1px !important; 
  transition: all 0.3s ease !important; 
  box-shadow: none !important;
  display: inline-flex !important; 
  justify-content: center !important; 
  align-items: center !important; 
  text-decoration: none !important; 
}

.gdc-stealth-btn:hover, header#header .gdc-stealth-btn:hover { 
  background-color: #648BA5 !important; 
  border-color: #648BA5 !important; 
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(100, 139, 165, 0.8) !important; 
  outline: none !important; 
}

/* ==========================================================================
20. DUAL-ACTION LOGIN & REGISTRATION BUTTONS
========================================================================== */
#gdc-submit-btn { 
  background-color: #648BA5 !important; 
  color: #ffffff !important; 
  border: 2px solid #648BA5 !important; 
  padding: 12px 24px !important; 
  font-size: 14px !important;
  font-weight: 800 !important; 
  text-transform: uppercase !important; 
  letter-spacing: 1px !important; 
  border-radius: 6px !important; 
  transition: all 0.3s ease !important; 
  width: 100% !important;
  display: block !important; 
  margin-top: 15px !important; 
  box-shadow: 0 4px 10px rgba(100, 139, 165, 0.2) !important; 
  cursor: pointer !important; 
}

#gdc-submit-btn:hover { 
  background-color: #1E2B3C !important; 
  border-color: #1E2B3C !important; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important; 
}

.gdc-reg-ghost-btn { 
  background-color: transparent !important; 
  border: 2px solid #648BA5 !important; 
  color: #648BA5 !important; 
  padding: 12px 24px !important; 
  font-size: 14px !important;
  font-weight: 800 !important; 
  text-transform: uppercase !important; 
  letter-spacing: 1px !important; 
  border-radius: 6px !important; 
  transition: all 0.3s ease !important; 
  width: 100% !important;
  display: block !important; 
  text-decoration: none !important; 
  text-align: center !important; 
  box-sizing: border-box !important; 
  cursor: pointer !important; 
}

.gdc-reg-ghost-btn:hover { 
  background-color: #648BA5 !important; 
  color: #ffffff !important; 
  box-shadow: 0 0 15px rgba(100, 139, 165, 0.4) !important; 
}

/* ==========================================================================
21. MEMBER VERIFICATION (SMOKED GLASS)
========================================================================== */
.gdc-login-wrapper { 
  background-color: rgba(15, 23, 42, 0.6) !important; 
  backdrop-filter: blur(10px) !important; 
  -webkit-backdrop-filter: blur(10px) !important; 
  border: 1px solid #648BA5 !important;
  border-radius: 12px !important; 
  box-shadow: 0 0 15px rgba(0,0,0,0.5), 0 0 5px rgba(100, 139, 165, 0.3) !important; 
}

/* ==========================================================================
22. HUD BUTTONS (ROUNDED RECTANGLES - BLUE, GREEN, AMBER)
========================================================================== */
.gdc-hud-btn { 
  display: inline-flex !important; 
  align-items: center !important; 
  justify-content: center !important; 
  padding: 3px 10px !important; 
  border-radius: 6px !important;
  font-size: 13px !important; 
  font-weight: 800 !important; 
  text-transform: uppercase !important; 
  letter-spacing: 1px !important; 
  text-decoration: none !important; 
  transition: all 0.2s ease !important;
  cursor: pointer !important; 
  color: #ffffff !important; 
}

.gdc-hud-green { 
  border: 1px solid #10B981 !important; 
  background: rgba(16, 185, 129, 0.15) !important; 
}

.gdc-hud-green:hover, .gdc-hud-green.active { 
  background: rgba(16, 185, 129, 0.35) !important; 
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5) !important; 
}

.gdc-hud-amber { 
  border: 1px solid #F59E0B !important; 
  background: rgba(245, 158, 11, 0.15) !important; 
}

.gdc-hud-amber:hover, .gdc-hud-amber.active { 
  background: rgba(245, 158, 11, 0.35) !important; 
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5) !important; 
}

.gdc-hud-blue { 
  border: 1px solid #38BDF8 !important; 
  background: rgba(56, 189, 248, 0.15) !important; 
}

.gdc-hud-blue:hover, .gdc-hud-blue.active { 
  background: rgba(56, 189, 248, 0.4) !important; 
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5) !important; 
}

/* ==========================================================================
   23. ACF "ADD FILE" BUTTON CONVERSION (MAXIMUM STAINLESS OVERRIDE)
   ========================================================================== */

/* 1. Nuke the redundant ACF "Add File" text link */
.acf-file-uploader a[data-name="add"],
.acf-file-uploader a.button,
.acf-file-uploader .acf-button,
.acf-file-uploader .hide-if-value a {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 2. Style the Native HTML Uploader Field */
.acf-file-uploader input[type="file"],
.acf-field-file input[type="file"] {
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  background: rgba(0,0,0,0.2) !important;
  padding: 12px !important;
  border: 1px dashed rgba(56, 189, 248, 0.5) !important;
  border-radius: 6px !important;
  width: 100% !important;
  display: block !important;
  cursor: pointer !important;
}

.acf-file-uploader input[type="file"]::file-selector-button,
.acf-file-uploader input[type="file"]::-webkit-file-upload-button,
.acf-field-file input[type="file"]::file-selector-button,
.acf-field-file input[type="file"]::-webkit-file-upload-button {
  background: linear-gradient(100deg, #6F8697 0%, #D8E0E9 30%, #91ACC0 70%, #C6D1D8 100%) !important;
  background-color: #D8E0E9 !important; /* Fallback */
  color: #14243A !important;
  border: 1px solid rgba(15, 23, 42, 0.6) !important;
  padding: 0 16px !important;
  border-radius: 4px !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  min-height: 38px !important;
  margin-right: 15px !important;
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.7), 0 2px 4px rgba(0,0,0,0.5) !important;
  -webkit-appearance: none !important;
}

/* 3. RESTORE THE SUBMIT BUTTON STAINLESS STEEL STYLING (FINAL OVERRIDE) */
html body .frontend-admin-form .acf-form-submit button,
html body .frontend-admin-form .acf-form-submit input[type="submit"],
html body .frontend-admin-form .acf-form-submit .button,
html body .frontend-admin-form .acf-form-submit .button.primary,
html body .frontend-admin-form .gdc-standard-btn {
  white-space: nowrap !important;
  background: linear-gradient(100deg, #6F8697 0%, #D8E0E9 30%, #91ACC0 70%, #C6D1D8 100%) !important;
  background-color: #D8E0E9 !important;
  background-image: linear-gradient(100deg, #6F8697 0%, #D8E0E9 30%, #91ACC0 70%, #C6D1D8 100%) !important;
  color: #14243A !important;
  border: 1px solid rgba(15, 23, 42, 0.6) !important;
  padding: 0 20px !important;
  border-radius: 6px !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  min-height: 48px !important;
  height: 48px !important;
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.7), 0 2px 4px rgba(0,0,0,0.5) !important;
  text-shadow: none !important;
  margin-top: 20px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  -webkit-text-stroke: 0px transparent !important;
  transition: all 0.2s ease !important;
  -webkit-appearance: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html body .frontend-admin-form .acf-form-submit button:hover,
html body .frontend-admin-form .acf-form-submit input[type="submit"]:hover,
html body .frontend-admin-form .acf-form-submit .button:hover,
html body .frontend-admin-form .acf-form-submit .button.primary:hover,
html body .frontend-admin-form .gdc-standard-btn:hover {
  background: linear-gradient(100deg, #6F8697 0%, #D8E0E9 30%, #91ACC0 70%, #C6D1D8 100%) !important;
  background-color: #C6D1D8 !important;
  background-image: linear-gradient(100deg, #6F8697 0%, #D8E0E9 30%, #91ACC0 70%, #C6D1D8 100%) !important;
  filter: brightness(1.18) !important;
  transform: translateY(-2px) !important;
  color: #000000 !important;
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.9), 0 4px 8px rgba(0,0,0,0.6) !important; 
}