/* assets/css/kunden-add.css */

.back-link {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.form-section {
    padding: 1.5rem;
    border-radius: 20px;
}

.full-width { grid-column: 1 / -1; }

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 1rem;
}

.icon-box {
    width: 40px;
    height: 40px;
    background-color: var(--accent-1);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

input, select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
}

.input-row {
    display: flex;
    gap: 1rem;
}

.span-half { flex: 1; }

/* Radio Buttons Styling */
.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-card {
    position: relative;
    cursor: pointer;
    flex: 1;
    min-width: 120px;
}

/* Wir verstecken den echten Radio Button, aber er bleibt technisch da */
.radio-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.3);
    font-weight: 500;
    transition: all 0.2s;
}

.radio-card input:checked + span {
    background-color: var(--accent-1);
    color: white;
    border-color: var(--accent-1);
}

/* SEPA Bereich Animation */
.sepa-container {
    background: rgba(0,0,0,0.02);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    border: 1px dashed var(--border-color);
    transition: opacity 0.3s ease;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

/* Partner List Tags */
.selected-partners {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .input-row { flex-direction: column; gap: 0; }
}