/*
    University of Pittsburgh Indico Theme (High Contrast / Accessible)
    
    Palette:
    - Backgrounds: Pitt Royal (#003594) or New Sky (#DBEEFF)
    - Text: White (#FFFFFF) or Dark Blue (#00205B)
    - Highlights: Pitt Gold (#FFB81C)
*/

:root {
  /* --- Header Area --- */
  /* Deep Blue background with White text = Excellent Contrast */
  --conf-theme-header-bg: #003594;
  --conf-theme-header-border-bottom: #00205B;
  --conf-theme-header-text: #ffffff;

  /* --- Subtitle Area --- */
  /* Very Light Blue background with Dark Blue text */
  --conf-theme-subtitle-bg: #DBEEFF;
  --conf-theme-subtitle-border: #b8d4ed;
  --conf-theme-subtitle-text: #00205B;

  /* --- Menu / Navigation --- */
  --conf-theme-menu-bg: #f8f9fa;
  --conf-theme-menu-border: #dddddd;
  
  /* Link Color: Darker Blue for readability against light grey */
  --conf-theme-menu-link: #003594;
  
  /* ACTIVE MENU ITEM: High Contrast Adjustment */
  /* We use the Gold for the background, but the text MUST be dark blue to be readable */
  --conf-theme-menu-selected: #00205B;      /* Text color of selected item */
  --conf-theme-menu-selected-bg: #FFB81C;   /* Background of selected item */
  --conf-theme-menu-selected-border: #c68900;

  /* Hover States */
  --conf-theme-hover-bg: #e9ecef;
  --conf-theme-hover-color: #003594;

  /* --- Sprites & Borders --- */
  --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 (Bottom Right) --- */
  --conf-theme-support-bg: #f8f9fa;
  --conf-theme-support-border: #cccccc;
  --conf-theme-support-header-bg: #003594;
  --conf-theme-support-header-text: #ffffff;
  --conf-theme-support-text: #333333; /* Darkened from gray #aaa for better readability */

  /* --- Announcements --- */
  --conf-theme-announcement-bg: #DBEEFF;
  --conf-theme-announcement-border: #003594;
  --conf-theme-announcement-text: #00205B;
  
  /* Images */
  --conf-theme-sprite-image: url('/images/conf/sprites_blue.png');
}

/* FORCE CONTRAST OVERRIDES 
   Sometimes Indico default CSS overrides variables. 
   These rules force the selected menu item to be readable.
*/

/* Ensure the selected menu item has Dark Blue text on Gold background */
ul.explain li.selected a,
div.concept-menu li.selected > a {
    color: #00205B !important;
    background-color: #FFB81C !important;
}

/* Ensure standard links are dark enough */
a {
    color: #003594;
}