.neckar-cup-form-wrapper {
    max-width: 900px;
    margin: 1.5rem auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.neckar-cup-form {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.neckar-cup-form-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.neckar-cup-form-header h2 {
    color: #000;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.neckar-cup-form-section {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.neckar-cup-form-section h3 {
    color: #dc3545;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dc3545;
}

.neckar-cup-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.neckar-cup-form-row:last-child {
    margin-bottom: 0;
}

.neckar-cup-form-group {
    display: flex;
    flex-direction: column;
}

.neckar-cup-form-group label {
    color: #000;
    font-weight: 600;
    margin-bottom: 0.375rem;
    font-size: 0.9rem;
}

.neckar-cup-form-group .required {
    color: #dc3545;
}

.neckar-cup-form-group input[type="text"],
.neckar-cup-form-group input[type="email"],
.neckar-cup-form-group input[type="tel"],
.neckar-cup-form-group input[type="number"],
.neckar-cup-form-group textarea {
    padding: 0.625rem 0.875rem;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.neckar-cup-form-group input:focus,
.neckar-cup-form-group textarea:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
}

.neckar-cup-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.neckar-cup-altersklassen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
}

.neckar-cup-klasse-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    transition: all 0.3s ease;
}

.neckar-cup-klasse-row:hover {
    background: #f0f0f0;
    border-color: #dc3545;
}

.neckar-cup-klasse-row label {
    color: #000;
    font-weight: 500;
    flex: 1;
    margin: 0;
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.neckar-cup-klasse-row select.klasse-input {
    width: 80px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    background: #ffffff;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 12px;
    padding-right: 2rem;
}

.neckar-cup-klasse-row select.klasse-input:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
}

/* Mobile Optimierungen für Select Picker - Native iOS Picker */
@media (max-width: 768px) {
    .neckar-cup-klasse-row {
        padding: 0.875rem;
    }
    
    .neckar-cup-klasse-row select.klasse-input {
        width: 100px;
        padding: 0.875rem 2.5rem 0.875rem 0.875rem;
        font-size: 1.125rem;
        -webkit-tap-highlight-color: rgba(220, 53, 69, 0.2);
        font-weight: 700;
        /* Größeres Touch-Target für bessere Bedienbarkeit */
        min-height: 44px;
    }
}

.neckar-cup-form-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.neckar-cup-submit-btn {
    background: #dc3545;
    color: #ffffff;
    border: 2px solid #dc3545;
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.neckar-cup-submit-btn:hover {
    background: #c82333;
    border-color: #c82333;
}

.neckar-cup-submit-btn:active {
    background: #bd2130;
    border-color: #bd2130;
}

.neckar-cup-submit-btn:active {
    transform: translateY(0);
}

.neckar-cup-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.neckar-cup-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0;
    text-align: center;
    font-weight: 500;
    display: none;
}

.neckar-cup-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.neckar-cup-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .neckar-cup-form {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .neckar-cup-form-header h2 {
        font-size: 1.5rem;
    }
    
    .neckar-cup-form-section {
        padding: 1.5rem;
    }
    
    .neckar-cup-form-row {
        grid-template-columns: 1fr;
    }
    
    .neckar-cup-altersklassen-grid {
        grid-template-columns: 1fr;
    }
    
    .neckar-cup-submit-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}
