/*
   Qualitouch Styles

*/

/*
  wp admin bar ausblenden
*/
.show-admin-bar {
    display: none;
}


/*
 generell
*/

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.main-container {
    min-height: 100vh; 
    padding-top: 20px;
}

/*
 Abstand zu zurück Pfeil
*/
.spacer {
    height: 20px;
}

/*
 Abstand zwischen Input felder
*/
.spacer_input {
    height: 20px;
}

/*
  titles
*/

.report-title1 {
    margin-bottom: 4px;
}

.report-title2 {
    margin-bottom: 1px;
}


/*
   tabellen
*/

.table-responsive table {
    border: 2px solid #ddd0c4;
    border-collapse: collapse;
    /* background-color: #eef5ff; */
}

.table-responsive td,
.table-responsive th {
    border: 1px solid #ddd0c4; 
    padding: 8px;
    text-align: left;
}

/* Hover-Effekt */
.table-responsive table tr:hover {
    background-color: #eef5ff;
}


/*
  radio group stylen
*/

.radio-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 10px 0;
}

.legend {
    width: 140px;
    font-size: 16px;
    color: #333;
}


.radio-group {
    flex-grow: 1;
    /* background: linear-gradient(to right, #59B09A, #F44336); */
    /* abgestuft
    background: repeating-linear-gradient( to right,
                                              #59B09A 0% 16%,
                                              #99C874 16% 32%,
                                              #DEDF4E 32% 48%,
                                              #FCC938 48% 63%,
                                              #F88636 63% 82%,
                                              #F44336 82% 100%
                                            );
    */
    background: repeating-linear-gradient( to right,
                                              #59B09A 0%,
                                              #99C874 16%,
                                              #DEDF4E 32%,
                                              #FCC938 48%,
                                              #F88636 63%,
                                              #F44336 100%
                                            );
    padding: 14px 20px 2px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
}

.radio-group-inverted {
    flex-grow: 1;
    background: repeating-linear-gradient( to right,
                                              #F44336 0%,
                                              #F88636 16%,
                                              #FCC938 32%,
                                              #DEDF4E 48%,
                                              #99C874 63%,
                                              #59B09A 100%
                                            );
    padding: 14px 20px 2px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
}

.radio-group.no-legend {
    background: #eee; /* entfernt den Verlauf */
}


.radio-group input[type="radio"] {
    transform: scale(1.5);
    margin: 0 0 6px 0;
    line-height: 1;
    flex-shrink: 0; /* verhindert, dass er das Layout sprengt */
    accent-color: #404040; /* neu  28.8.2025 */
}

.radio-group label {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px 10px;
    font-size: 16px;
    padding: 5px;
    line-height: 1.2;
    font-weight: 500; /* neu  28.8.2025 */
    color: #404040; /* neu  28.8.2025 */
}

.radio-group.two-options {
    justify-content: center; /* oder space-around */
    gap: 30px; /* optional für Abstand zwischen den beiden */
}


/*
  formulare in Bereiche unterteilen
*/

/* emmet           
.input-group-box {
    border: 1px solid #ced4da; 
    background-color: #f9f9f9; 
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.input-group-box:hover {
    background-color: #f1f3f5; 
    cursor: pointer; 
}
*/

/* consultant style */
.input-group-box {
    border: 1px solid #ddd0c4 !important; /* weicher, warmer Rand */
    background-color: #eef5ff !important; /* leicht grün */
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.input-group-box:hover {
    background-color: #f5faff !important; 
    cursor: pointer;
}

.input-group-box input,
.input-group-box select,
.input-group-box textarea {
    background-color: white !important;
    border: 2px solid #ddd0c4 !important;
    padding: 8px;
    border-radius: 4px;
    width: 100%;
}

/*
  Bereich Titel und Intro Formatieren
*/

.bereich-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    margin-bottom: 8px;
}

.bereich-intro {
    font-size: 17px;
    font-weight: normal;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.4;
}

/*
  menü format
*/

.action-heading {
  font-size: 1.4rem;
  margin-bottom: 1rem; 
  color: #333;
}

.action-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-item a {
  display: flex;
  align-items: flex-start; 
  gap: 1rem;
  background: #eef5ff;
  padding: 1rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #ddd;
  transition: background 0.2s ease;
}

.action-item a:hover {
  background: #f9f9f9;
  text-decoration: none; 
}

.action-title {
  font-size: 2.0rem;
  color: #2c3e50;
}

.action-desc {
  color: #555;
  font-size: 1.5rem;
  margin-top: 0rem;
}

.icon {
  position: relative;
  top: 12px; 
  min-width: 30px;
} 


/*
  patienten header format
*/
.patient-header {
    background: #eef5ff;
    margin-bottom: 20px; /* Abstand zum nächsten Element */
    border: 1px solid #ced4da; /* Dezenter grauer Rand */
    /* border-left: 4px solid #0073aa; */
    padding: 12px 16px; 
    padding-left: 10px;  /* Kein Abstand links */
    /* margin: 20px 0; */
    border-radius: 8px; 
    font-family: Arial, sans-serif;
    /*color: #333; */
}

.patient-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 4px;
}

.patient-name .year-birthday {
    font-weight: bold;
    font-size: 22px;
    color: #666;
}

.app-user {
    font-size: 22px;
    color: #555;
    margin-top: 6px;
}

.user-email {
    font-style: italic;
    color: #0073aa;
}


/* 
  input felder und labels
*/

.qt-form-zeile {
  margin-bottom: 1rem;
}

.qt-form-label {
  font-size: 1.3rem;
}


.qt-form-input {
  font-size: 1.3rem !important;
  height: 50px;          
}

/* Benutzerdefinierte Klasse für Select2 */
.qt-form-select2 {
  font-size: 1.3rem !important;
  height: 50px; /* gleiche Höhe wie für Input-Felder */
  line-height: 50px; /* sorgt für vertikale Zentrierung */
  padding: 8px; /* angepasstes Padding */
}

/* Anpassung für Select2-Container */
.select2-container--default .select2-selection--single.qt-form-select2 {
  height: 50px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  line-height: 50px; /* Vertikale Zentrierung */
}

/* Dropdown-Anpassung */
.select2-container--default .select2-dropdown {
  font-size: 14px;
}



/*
.qt-form-input[type="text"],
.qt-form-input[type="email"],
.qt-form-input[type="password"],
.qt-form-input[type="number"] {
  font-size: 1.3rem !important;
  height: 50px;
  border-radius: 8px !important;
  border: 1px solid #ccc;
  padding: 10px 12px;
  background-color: #fff;
  line-height: 1.3;
}

.qt-form-input-select {
  font-size: 1.3rem !important;
  height: 50px;
  border-radius: 8px !important;
  border: 1px solid #ccc;
  padding: 10px 12px;
  background-color: #fff;
  appearance: none !important;
  line-height: 1.3;
}
*/


/*
  texte 
*/

.qt-grosser-text {
  font-size: 1.3rem;  
  line-height: 1.6;
}

.qt-grosser-text b {
  font-weight: 600;
}


/*
  checkbox gross cbx_datenschutz
*/


input[type="checkbox"]#cbx_datenschutz {
  appearance: auto !important;
  -moz-appearance: auto !important;
  -webkit-appearance: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: static !important;

  /* Größe */
  width: 18px !important;   /* Grundbox größer */
  height: 18px !important;
  transform: scale(1.8);    /* visuell vergrößern */
  transform-origin: center; /* zentriert skalieren */
  margin: 0 10px 0 0 !important;
  cursor: pointer;
}

label[for="cbx_datenschutz"] {
  cursor: pointer;
  font-size: 21px; /* wie gehabt */
}

/*
  top toolbar
*/

.qt-toolbar .ct-button {
  border-radius: var(--radius-button, 12px);
  font-size: 1.2rem;
  padding: 10px 18px;
  line-height: 1.2;
  transition: all 0.2s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 200px; /* ? Einheitliche Breite für alle Buttons */
  text-align: center;
}

.qt-toolbar .ct-button .fa {
  font-size: 1.5rem;
  vertical-align: middle;
}

