.taskforms-container fieldset {
  margin-top: 2rem;
}

.taskforms-container legend {
  color: #636e5e !important;
  font-size: 1.5rem !important;
  font-family: 'Prata', Arial, sans-serif !important;
}

.taskforms-container .message-group {
  margin-top: 1rem !important;
}

.taskforms-container .btn {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.875em !important;
  text-transform: uppercase !important;
  background: #d8b9a4 !important;
  border-radius: 0 !important;
  border: none !important;
  padding: 10px 20px !important;
}

.taskforms-container .btn:hover {
  background: #b9825d !important;  
}

.taskforms-container textarea {
  height: 200px !important;
}

.taskforms-container .form-control {
  width: 100%;
  border: 1px solid #e1e6e8;
  margin: 0;
  padding: 0 10px;
  background-color: #f9fafb !important;
  font-size: 1em;
  height: 44px;
  line-height: 44px;
  color: #000 !important;
  border-radius: 0 !important;
}

.taskforms-container .choices[data-type*=select-one] .choices__button {
    margin-right: 40px !important;
}


/* ------------------------------------------ */
/* RADIO BUTTONS & CHECKBOXES - FIXED VERSION */
/* ------------------------------------------ */

.taskforms-container .form-check-label input {
  align-items: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #636e5e;
  border-radius: 50% !important;
  display: inline-flex;
  justify-content: center;
  height: 20px;
  width: 20px;
  position: relative;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
  flex-shrink: 0;
  background: #fff;
  vertical-align: middle;
}


/* Innerer Punkt – immer vorhanden, nur sichtbar bei checked */
.taskforms-container .form-check-label input::after {
  content: "";
  position: absolute;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.1s ease-in-out;
}

/* Sichtbar, wenn aktiv */
.taskforms-container .form-check-label input:checked::after {
  background: #636e5e !important;
}

/* Checkboxen (quadratisch, aber gleiche Logik) */
.taskforms-container .form-check-label input[type="checkbox"] {
  border-radius: 4px !important;
}

.taskforms-container .form-check-label input[type="checkbox"]::after {
  height: 10px;
  width: 10px;
  border-radius: 2px;
}

.taskforms-container .form-check-label input[type="checkbox"]:checked::after {
  background: #636e5e !important;
}

/* Fokus-Styling */
.taskforms-container .form-check-label input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(135, 72, 109, 0.3);
}


/* ------------------------------------------ */

.taskforms-container a {
  color: #636e5e !important;
  text-decoration: underline;
  background-color: transparent;
}

.taskforms-container .field-required:after,
.taskforms-container .form-check-label:before,
.taskform-container .formio-errors,
.taskforms-container .invalid-feedback {
  display: none !important;
}

.taskforms-container .form-control.is-invalid {
  border-color: #e1e6e8 !important;
  background-image: none !important;
}

.choices[data-type*=select-one]:after {
  right: 24px !important;
  margin-top: 0px !important;
  border-top-color: #636e5e !important;
}

.taskforms-container .input-group-text {
  background-color: transparent !important;
  border: none !important;
}

.taskforms-container .form-check-label span {
  margin-top: -2px;
  margin-left: 4px;
}

/* Kalender Icon */
.taskforms-container .input-group-append .input-group-text .fa-calendar {
  display: none;
}

.taskforms-container .input-group-append .input-group-text {
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='%2387486d' viewBox='0 0 256 256'%3E%3Cpath d='M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  position: absolute;
  right: 4px;
  top: 4px;
}

.taskforms-container .flatpickr-day.selected {
  background: #636e5e !important;
  border-color: #636e5e !important;
}