/* Einheitliche Formular-Stile für konsistente Höhen */

/* Standard-Höhe für alle Formular-Elemente */
.form-input,
.form-textarea,
select,
input[type="text"],
input[type="date"],
input[type="file"],
textarea {
    height: 40px;
    min-height: 40px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.4;
}

/* Textarea-spezifische Anpassungen */
.form-textarea,
textarea {
    min-height: 40px;
    resize: vertical;
}

/* Multi-line Textareas (wie Notizen) */
textarea[rows="8"] {
    min-height: 120px;
}

/* Kommentar-Textareas */
textarea[rows="3"] {
    min-height: 80px;
}

/* File Input spezielle Behandlung */
input[type="file"] {
    padding: 8px 12px;
    line-height: 1.2;
}

/* Select-Elemente */
select {
    padding: 8px 12px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 32px;
    appearance: none;
}

/* Checkbox und Radio Buttons */
input[type="checkbox"],
input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

/* Konsistente Border und Focus-Stile */
.form-input:focus,
.form-textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="date"]:focus,
textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Fix für einheitliche Content-Block Breiten - Nur äußere Container */

/* Äußere Container - einheitliche Breite */
.content-slot {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Content-Items - einheitliche Breite */
.content-slot li {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Button-Container - verhindert Shrinking (nur bei expliziter Klasse) */
.content-slot .button-container {
  flex-shrink: 0 !important;
  min-width: fit-content !important;
}

/* Titel-Container - besserer Wortumbruch (nur bei expliziter Klasse) */
.content-slot .title-container {
  flex: 1 !important;
  min-width: 0 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

/* Slot-Container - einheitliche Breite */
.relative.mb-2 {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Tages-Container - einheitliche Breite */
.mb-2 {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Hauptcontainer für die mittlere Spalte */
.flex-1 {
  box-sizing: border-box !important;
  min-width: 0 !important;
} 