/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/
/*
  LimeSurvey Custom Theme CSS (Version 6.15.4)
  Ziel: Modernes Layout mit Arial, dunklem Text, hellgrauem Hintergrund, dunkelblauen Buttons & Fortschrittsbalken.
*/

/* === Layout und Grundfarben === */
body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2; /* hellgrau */
  color: #333333; /* dunkelgrau */
  max-width: 80vw;
  margin: 0 auto;
}

/* Header */
#header {
  background-color: #ffffff; /* weißer Header */
  padding: 1rem;
  border-bottom: 2px solid #ddd;
}

/* Titel */
h1, .survey-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333333;
}
.group-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333333;
}

/* Hilfetexte */
.help-block, .questionhelp, .alert-info {
  font-size: 1rem;
  font-style: italic;
  color: #333333;
}

/* Fragen & Text allgemein */
 .answertext {
  font-size: 1.2rem;
  color: #333333;
  font-family: Arial, sans-serif;
  

}
.question-container{
    background-color:#f2f2f2!important;
    border-radius: 6px;
}
.question-text{
    font-size: 1.2rem;
    font-weight: bold;
  color: #333333;
  font-family: Arial, sans-serif;
}

/* === Buttons === */

.btn-primary,
.btn-default,
.button-submit,
.btn-move {
  background-color: #22039c!important; 
  color: #ffffff !important;
  border: none!important;
 padding: 0.6rem 1.2rem!important;
 /* border-radius: 4px!important;*/
  
}

.btn-primary:hover,
.btn-default:hover,
.button-submit:hover,
.btn-move:hover {
  background-color: #2855fa!important; 
}


/* === Antwort-Buttons === */
.myBtn .button-item .ls-icon, 
.myBtn .ls-button-label .ls-icon {
    font-size: 1.0em;
   /* line-height: 1.1em;*/
    display:inline;
}
.myBtn .btn-check:checked+.btn-primary
{
    background-color: green!important;
    border:none!important;
    box-shadow:none!important;
    transition: background-color 0.3s ease!important;
}
.myBtn .btn-primary:hover
{
    background-color: #2855fa!important;
    border:none!important;
    box-shadow:none!important;
    transition: background-color 0.3s ease!important;
}



/* === Fortschrittsbalken === */
.progress {
  height: 20vh;
  background-color: #e6e6e6;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-bar {
    min-width:4em!important;
    width:steps!important;
  background-color: #22039c!important;
  color: #ffffff;
}

/* Fortschrittsbalken Text (optional) */
.progress-text {
  text-align: center;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.3rem;
}

/* Formularbereich begrenzen */
#outerframeContainer, .container, .ls-main-content {
  max-width: 80vw;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Navigation zentrieren */
.ls-buttons .btn-group {
  justify-content: center;
  display: flex;
  gap: 1rem;
}
.question-count-text{
    text-align:center;
    margin-bottom:10px;
}

.completed-text{
    text-align: center;
    
}
