:root{
  --eih-blue: #445EAB;
  --eih-blue-2: #3F6CDC;
  --eih-orange: #F58423;
  --eih-bg: #F0F5FA;
  --eih-text: #282929;
  --eih-line: rgba(0,0,0,0.08);
  --eih-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Hintergrund wie Hauptseite */
body{
  background: var(--eih-bg) !important;
  color: var(--eih-text);
}

/* Container-Breite / Luft */
.es-container{
  max-width: 1100px;
  padding-top: 24px;
  padding-bottom: 40px;
}

/* Headerband */
.es-header{
  background: #fff;
  border: 1px solid var(--eih-line);
  border-radius: 14px;
  box-shadow: var(--eih-shadow);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.es-brand{
  display: flex;
  align-items: center;
  gap: 14px;
}

.es-logo{
  height: 46px;
  width: auto;
  display: block;
}

.es-brand-text .es-title{
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

.es-brand-text .es-subtitle{
  font-size: 13px;
  opacity: 0.75;
}

/* Card */
.es-card{
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--eih-line);
  border-radius: 18px;
  box-shadow: var(--eih-shadow);
  padding: 26px;
}

.es-h1{
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 18px 0;
}

/* Survey-Liste als "Kacheln" */
.es-survey-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 768px){
  .es-survey-list{ grid-template-columns: 1fr; }
}

.es-survey-link{
  display: block;
  text-decoration: none;
  background: var(--eih-blue);
  color: #fff !important;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform 120ms ease, background 120ms ease;
}

.es-survey-link:hover,
.es-survey-link:focus{
  background: var(--eih-blue-2);
  transform: translateY(-1px);
}

/* Hilfetext */
.es-help{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--eih-line);
  font-size: 14px;
  opacity: 0.85;
}

/* Footer */
.es-footer{
  margin-top: 16px;
  text-align: center;
  opacity: 0.85;
}

.es-footer-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--eih-text);
}

.es-logo-foot{
  height: 28px;
  width: auto;
}

/* Branding in der oberen Navbar */
.es-navbar-brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.es-navbar-logo{
  height: 34px;
  width: auto;
  display: block;
}

.es-navbar-text{
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.es-navbar-title{
  font-weight: 700;
  font-size: 15px;
  color: #282929;
}

.es-navbar-subtitle{
  font-size: 12px;
  opacity: 0.75;
  color: #282929;
}

/* Navbar clean: weiß + Linie wie Hauptseite */
.navbar, .topbar, header.navbar{
  background: #fff !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}


/* Sprache-Dropdown im Header etwas "cleaner" */
.es-header-right select,
.es-header-right .form-select{
  border-radius: 12px;
  border-color: rgba(68, 94, 171, 0.25);
}

/* ========== Eihsing Topbar (Navbar Override) ========== */
.es-navbar{
  background: #fff !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}

.es-navbar-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
}

.es-navbar-brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.es-navbar-logo{
  height: 38px;
  width: auto;
  display: block;
}

.es-navbar-text{
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.es-navbar-title{
  font-weight: 700;
  font-size: 16px;
  color: var(--eih-text);
}

.es-navbar-subtitle{
  font-size: 12px;
  opacity: 0.75;
  color: var(--eih-text);
}

/* Language switcher on the right */
.es-navbar-right{
  display: flex;
  align-items: center;
}

#surveylist-language-changer,
#surveylist-language-changer form{
  margin: 0;
}

#surveylist-language-changer select,
#surveylist-language-changer .form-select{
  border-radius: 12px;
  border-color: rgba(68, 94, 171, 0.25);
}

/* On small screens, hide subtitle to avoid wrapping */
@media (max-width: 576px){
  .es-navbar-subtitle{ display: none; }
  .es-navbar-logo{ height: 34px; }
}

/* Eihsing Blau statt LimeSurvey-Grün */
:root{
  --eih-blue: #445EAB;
  --eih-blue-2: #3F6CDC;
}

/* Buttons, die "grün" sind (Sprache ändern, Weiter etc. je nach Template) */
.btn-success,
.btn-success:visited{
  background-color: var(--eih-blue) !important;
  border-color: var(--eih-blue) !important;
  color: #fff !important;
}
.btn-success:hover,
.btn-success:focus{
  background-color: var(--eih-blue-2) !important;
  border-color: var(--eih-blue-2) !important;
}

/* Falls "Weiter" bei dir auch über btn-primary läuft: */
.btn-primary{
  background-color: var(--eih-blue) !important;
  border-color: var(--eih-blue) !important;
}
.btn-primary:hover,
.btn-primary:focus{
  background-color: var(--eih-blue-2) !important;
  border-color: var(--eih-blue-2) !important;
}

/* Grüne Texte/Icons (z.B. Hinweise) */
.text-success{
  color: var(--eih-blue) !important;
}

/* Grüne Hintergründe (selten, aber sicher) */
.bg-success{
  background-color: var(--eih-blue) !important;
}

/* Fortschrittsbalken (0% Leiste oben/links) */
.progress-bar,
.progress-bar-success{
  background-color: var(--eih-blue) !important;
}

/* Grüner Hilfetext / Infotext in Fragen -> Eihsing Blau */
:root{
  --eih-blue: #445EAB;
  --eih-blue-2: #3F6CDC;
}

/* Bootstrap / LimeSurvey typische Help-Selektoren */
.text-info,
.text-success,
.questionhelp,
.help-block,
.ls-questionhelp,
.ls-question-message,
.ls-questionhelp-block,
.ls-questionhelp-message{
  color: var(--eih-blue) !important;
}

/* Falls das Icon auch grün ist (FontAwesome/Bootstrap Icons) */
.text-info i,
.text-success i,
.questionhelp i,
.ls-questionhelp i{
  color: var(--eih-blue) !important;
}
