/* Vereins Anmeldung – Frontend Styles */

.va-form-wrapper {
    max-width: 640px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.va-form {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.va-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 8px;
}

.va-step {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    font-size: 13px;
    color: #888;
    border-bottom: 3px solid #e0e0e0;
    transition: all 0.2s;
}

.va-step.active {
    color: #1a73e8;
    border-bottom-color: #1a73e8;
    font-weight: 600;
}

.va-step.done {
    color: #0d904f;
    border-bottom-color: #0d904f;
}

.va-form-step h3 {
    margin: 0 0 20px;
    font-size: 1.25rem;
}

.va-form-step h4 {
    margin: 20px 0 12px;
    font-size: 1rem;
    color: #333;
}

.va-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.va-radio-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.va-radio-card:hover {
    border-color: #1a73e8;
}

.va-radio-card input {
    margin-top: 4px;
}

.va-radio-card input:checked + .va-radio-content {
    color: #1a73e8;
}

.va-radio-card:has(input:checked) {
    border-color: #1a73e8;
    background: #f0f7ff;
}

.va-radio-content strong {
    display: block;
    margin-bottom: 2px;
}

.va-radio-content small {
    color: #666;
}

.va-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.va-field {
    flex: 1;
    margin-bottom: 16px;
}

.va-field-plz {
    flex: 0 0 120px;
}

.va-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
}

.va-field input[type="text"],
.va-field input[type="email"],
.va-field input[type="tel"],
.va-field input[type="date"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

.va-field input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
}

.va-foerder-box {
    background: #f0f9f0;
    border: 1px solid #a5d6a7;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
}

.va-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.va-checkbox-label input {
    margin-top: 3px;
    flex-shrink: 0;
}

.va-consents {
    margin: 24px 0;
    padding: 16px;
    background: #fafafa;
    border-radius: 6px;
}

.va-signature-wrapper {
    margin: 12px 0 24px;
}

#va-signature-pad {
    display: block;
    width: 100%;
    max-width: 500px;
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 6px;
    background: #fafafa;
    touch-action: none;
    cursor: crosshair;
}

.va-help {
    font-size: 13px;
    color: #666;
    margin: 0 0 8px;
}

.va-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.va-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.va-btn-next,
.va-btn-submit {
    background: #1a73e8;
    color: #fff;
}

.va-btn-next:hover,
.va-btn-submit:hover {
    background: #1557b0;
}

.va-btn-prev,
.va-btn-secondary {
    background: #f1f3f4;
    color: #333;
}

.va-btn-prev:hover,
.va-btn-secondary:hover {
    background: #e0e0e0;
}

.va-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.va-messages {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 6px;
}

.va-messages.success {
    background: #e6f4ea;
    color: #0d904f;
    border: 1px solid #a5d6a7;
}

.va-messages.error {
    background: #fce8e6;
    color: #c5221f;
    border: 1px solid #f5c6cb;
}

@media (max-width: 600px) {
    .va-row {
        flex-direction: column;
        gap: 0;
    }
    .va-field-plz {
        flex: 1;
    }
    .va-form {
        padding: 16px;
    }
}

.va-hinweis-box {
    margin: 12px 0 20px;
    padding: 12px 14px;
    background: #eef6ff;
    border-left: 3px solid #2271b1;
    border-radius: 3px;
    font-size: 0.92em;
}
.va-hinweis-box p {
    margin: 0;
}
