/*
    iSLS 2027 – Indico-Stylesheet
    Farben aus dem STÄPS-Logo (PDF, Vektorwerte):
      Dunkelblau  #003766  (Schrift "STÄPS", Untertitel)
      Orange      #F18823  (Ä, "Ärztlicher")
      Orange hell #F39331  (Quadrat)
    Hellere Flächen sind Aufhellungen dieser beiden Töne.
    Header bewusst weiß, damit das Banner (weißer Hintergrund) nahtlos sitzt.
*/

:root {
  /* Header */
  --conf-theme-header-bg: #ffffff;
  --conf-theme-header-border-bottom: #f18823;
  --conf-theme-header-text: #003766;

  /* Subtitle area (Datum / Ort / Suche) */
  --conf-theme-subtitle-bg: #f2f5f7;
  --conf-theme-subtitle-border: #d9e1e8;
  --conf-theme-subtitle-text: #003766;

  /* Menu colors */
  --conf-theme-menu-bg: #f6f6f6;
  --conf-theme-menu-border: #cccccc;
  --conf-theme-menu-link: #003766;
  --conf-theme-menu-selected: #003766;
  --conf-theme-menu-selected-bg: #fdede0;
  --conf-theme-menu-selected-border: #f18823;
  --conf-theme-hover-bg: #e6ebf0;
  --conf-theme-hover-color: var(--conf-theme-menu-link);
  --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 (Organisationsteam) */
  --conf-theme-support-bg: #f6f6f6;
  --conf-theme-support-border: #cccccc;
  --conf-theme-support-header-bg: #003766;
  --conf-theme-support-header-text: #ffffff;
  --conf-theme-support-text: #666666;

  /* Background images (Icons) */
  --conf-theme-sprite-image: url('/images/conf/sprites_blue.png');

  /* Announcement colors */
  --conf-theme-announcement-bg: #fef5ed;
  --conf-theme-announcement-border: #f9cfa7;
  --conf-theme-announcement-text: #003766;
}

/* Other CSS as needed */

/*
    Selektoren gegen den Indico-Quellcode geprüft (indico/web/client/styles:
    partials/_buttons.scss, _actionboxes.scss, _links.scss, legacy/Conf_Basic.scss).
    Indicos Button-Regeln sind sehr spezifisch und setzen beim Hover einen
    Verlauf, daher dort !important.
*/

/* Hervorgehobene Buttons (z. B. "Neuen Abstract einreichen") in STÄPS-Blau */
.i-button.highlight:not(.label):not(.borderless):not(.text-color) {
  background: #003766 !important;
  border-color: #003766 !important;
  color: #ffffff !important;
}

.i-button.highlight:not(.label):not(.borderless):not(.text-color):hover,
.i-button.highlight:not(.label):not(.borderless):not(.text-color):active,
.i-button.highlight:not(.label):not(.borderless):not(.text-color):focus,
.i-button.highlight:not(.label):not(.borderless):not(.text-color).open {
  background: #00294d !important;
  border-color: #00294d !important;
  color: #ffffff !important;
}

/* Auswahl-Buttons im Formular (z. B. Einverständnis zur Veröffentlichung), aktiver Zustand */
.i-selection input[type='checkbox']:checked + label,
.i-selection input[type='radio']:checked + label {
  background: #003766 !important;
  border-color: #003766 !important;
  color: #ffffff !important;
}

.i-selection input[type='checkbox']:checked + label:hover,
.i-selection input[type='checkbox']:checked + label:active,
.i-selection input[type='radio']:checked + label:hover,
.i-selection input[type='radio']:checked + label:active {
  background: #00294d !important;
  border-color: #00294d !important;
  color: #ffffff !important;
}

/* Links im Hauptbereich und im Organisationsteam-Kästchen */
.confBodyBox a:not(.i-button):not(.ui-button),
.support_box a {
  color: #003766;
}

.confBodyBox a:not(.i-button):not(.ui-button):hover,
.support_box a:hover {
  color: #f18823;
}

/* "Sie wurden berechtigt Abstracts einzureichen"-Box */
.action-box.highlight {
  background: #f2f5f7;
  border-color: #003766;
}

.action-box.highlight .section:not(.highlight):not(.warning):not(.danger):not(.disabled):not(.accept):not(.plain) > .icon,
.action-box.highlight .section:not(.highlight):not(.warning):not(.danger):not(.disabled):not(.accept):not(.plain) .text .label,
.action-box.highlight .section:not(.highlight):not(.warning):not(.danger):not(.disabled):not(.accept):not(.plain) > .sui-icon-wrapper {
  color: #003766;
}