/* components/forms.css - VERBESSERT */
.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.form-control {
    height: 50px;
    width: 800;
    /* Jetzt 80% der Breite statt 100% */
    padding: 0.5rem 0.7rem;
    /* Kleiner als Button-Padding */
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 0.9rem;
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #B24A02;
    background-color: #B24A02;
    box-shadow: 0 0 0 2px rgba(178, 74, 2, 0.1);
}

textarea.form-group {
    height: 100px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

textarea.form-control {
    height: 100px;
    min-height: 80px;
    resize: vertical;
    line-height: 1.4;
}

.form-input {
    width: 80%;
    min-width: 50px;
    max-width: 400px;
    padding: 0.6rem 0.8rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: block;
    margin-top: 0.3rem;
}

.form-input:focus {
    outline: none;
    border-color: #B24A02;
    box-shadow: 0 0 0 3px rgba(178, 74, 2, 0.2);
    background-color: #fff;
}


/* Custom Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.form-checkbox {
    display: none;
    /* Verstecke die originale Checkbox */
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    background: white;
    transition: all 0.3s ease;
}

/* Wenn Checkbox checked */
.form-checkbox:checked+.checkmark {
    background-color: #B24A02;
    border-color: #B24A02;
}

/* Haken-Symbol */
.form-checkbox:checked+.checkmark::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Hover-Effekt */
.checkbox-label:hover .checkmark {
    border-color: #B24A02;
}