/*
    SAGS 2026 Custom Stylesheet
    Theme: Hybrid Space (Dark navigation shell, light content card)
*/

:root {
  /* Header */
  --conf-theme-header-bg: #000000;
  --conf-theme-header-border-bottom: #00b4d8;
  --conf-theme-header-text: #ffffff;

  /* Subtitle area */
  --conf-theme-subtitle-bg: #0b1320;
  --conf-theme-subtitle-border: #142847;
  --conf-theme-subtitle-text: #ffffff;

  /* Menu colors */
  --conf-theme-menu-bg: #080c16; 
  --conf-theme-menu-border: #142847;
  --conf-theme-menu-link: #00b4d8; 
  --conf-theme-menu-selected: #ffffff; 
  --conf-theme-menu-selected-bg: #142847; 
  --conf-theme-menu-selected-border: #00b4d8;
  --conf-theme-hover-bg: #1e3a5f;
  --conf-theme-hover-color: #ffffff;
  --conf-theme-title-sprite-bg: transparent;
  --conf-theme-announcement-sprite-bg: transparent;
  --conf-theme-announcement-border-top: 1px solid var(--conf-theme-announcement-border);
  --conf-theme-announcement-border-bottom: none;

  /* Support box */
  --conf-theme-support-bg: #080c16;
  --conf-theme-support-border: #142847;
  --conf-theme-support-header-bg: #000000;
  --conf-theme-support-header-text: #00b4d8;
  --conf-theme-support-text: #ffffff;

  /* Background images */
  --conf-theme-sprite-image: none; 

  /* Announcement colors */
  --conf-theme-announcement-bg: #0a192f;
  --conf-theme-announcement-border: #00b4d8;
  --conf-theme-announcement-text: #ffffff;
}

/* 1. Set the outer shell to deep black to keep the space theme */
body, .wrapper {
    background-color: #000000 !important;
}

/* 2. Create a clean, white "card" for all the main content to live inside safely */
.page-content {
    background-color: #ffffff !important;
    border: 1px solid #142847 !important;
    border-radius: 6px;
    padding: 25px !important;
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.15); /* Subtle blue glow around the card */
}

/* 3. Style links inside the content area to match your electric blue theme */
.page-content a {
    color: #00b4d8 !important;
}

.page-content a:hover {
    color: #007a93 !important;
    text-decoration: underline !important;
}

/* ==========================================
   FIXES FOR REGISTRATION & ABSTRACT BUTTONS
   ========================================== */

/* Fix description text inside the action callout boxes */
.page-content .action-box-content,
.page-content .action-box-text,
.page-content .action-box p,
.page-content .action-box div {
    color: #1e3a5f !important; /* Force a dark blue/black legible text over light blue background */
}

/* Fix text inside Indico action buttons (Submit new abstract / Apply now) */
.page-content .action-box .i-button,
.page-content .action-box a.i-button,
.page-content .action-box .i-button *,
.page-content a.action-box-button {
    color: #ffffff !important; /* Force the button text to be crisp white */
    text-decoration: none !important;
}

/* Maintain hover state text contrast for buttons */
.page-content .action-box .i-button:hover,
.page-content .action-box a.i-button:hover {
    color: #ffffff !important;
    background-color: #007a93 !important; /* Darker teal hover effect */
}