body {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('../img/gym-photo.jpeg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    padding: 30px;
    margin: 30px auto;
    max-width: 900px;
    border: 3px solid #27ae60;
}

.header-logo {
    text-align: center;
    margin-bottom: 20px;
}

.header-logo img {
    height: 80px;
}

.form-title {
    text-align: center;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 30px;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 15px;
}

.section-title {
    color: #34495e;
    font-weight: 600;
    border-left: 4px solid #e74c3c;
    padding-left: 12px;
    margin: 25px 0 20px 0;
    font-size: 1.1rem;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.input-group-text {
    background: #f8f9fa;
    border-right: none;
}

.input-group:focus-within .input-group-text {
    background-color: #fff9e6;
}

.form-control, .form-select {
    border-left: none;
}

.form-control:focus, .form-select:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
    background-color: #fff9e6;
}

.input-group-text {
    border-color: #dee2e6;
}

.form-control {
    border-color: #dee2e6;
}

.btn-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
}

.btn-confirmar {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border: none;
    color: white;
}

.btn-confirmar:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    color: white;
}

.checkbox-item, .radio-item {
    margin-bottom: 8px;
}

.checkbox-item label, .radio-item label {
    font-weight: normal;
    margin-left: 5px;
    cursor: pointer;
}

.error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
}

.is-invalid {
    border-color: #e74c3c !important;
}

/* Camera styles */
#cameraModal .modal-body {
    padding: 0;
}

#camera {
    width: 100%;
    max-height: 400px;
    background: #000;
}

#photoPreview {
    max-width: 100%;
    max-height: 400px;
    display: none;
}

.camera-controls {
    padding: 15px;
    text-align: center;
    background: #f8f9fa;
}

.foto-preview-container {
    text-align: center;
    margin-top: 10px;
}

.foto-preview-container img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    border: 3px solid #e74c3c;
}
