/* Formular-Layout */
.form-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin-top: 2rem;
}

.form-layout h2 {
    color: #a0a0a0;
    font-size: 1.1rem;
    border-bottom: 1px solid #444;
    padding-bottom: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: bold;
    color: #a0a0a0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: #2c2c2c;
    border: 1px solid #444;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 1rem;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-group-checkbox input[type="checkbox"] {
    width: auto;
    accent-color: #5dadec;
}

/* Styling für den Lade-Spinner neben einem Input-Feld */
.input-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
