/******************
    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
*/
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;
}

.myWelcomeJpg{
    display:block;
    max-width:60vw;
   margin: 0 auto;
   align-items: center;
}

/* 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: #22039c!important;
}
.fruity .text-info {
  font-size: 1.2rem!important;
  color: #22039c!important;
}
.fruity a{
     font-size: 1.2rem!important;
  color: #22039c!important;
}

/* 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;
    
}

.question-container.subQuest{
    margin-left:30px!important;
    background-color:#dedede!important;

}
