.client-reservation-form-container {
    font-family: Arial, sans-serif;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.form-section {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-section h2 {
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    margin-top: 0;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 15px;
}

.form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.uppercase {
    text-transform: uppercase;
}

.button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    align-self: flex-end;
}

.button:hover {
    background-color: #005177;
}

.age-display, .calculated-date {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
}

.package-types {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.package-types h3 {
    margin-top: 0;
    color: #0073aa;
}

.package-types ul {
    margin-bottom: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

table th {
    background-color: #f2f2f2;
}

#summary-section {
    background-color: #e9f7fe;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

#summary-section h3 {
    margin-top: 0;
}

.user-details {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}

.user-details h3 {
    margin-top: 0;
    color: #0073aa;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Estilos para la subida de imágenes */
.upload-group {
    margin-bottom: 15px;
}

.upload-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.preview-container {
    margin-top: 10px;
}

.image-preview {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}

.image-preview img {
    max-width: 200px;
    max-height: 150px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.remove-image {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff0000;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    font-weight: bold;
}

.remove-image:hover {
    background: #cc0000;
}

.upload-dni-button {
    margin-top: 10px;
}

/* Estilos para checkboxes */
.checkbox-group {
    margin-bottom: 5px;
}

.checkbox-group input {
    margin-right: 5px;
}

.insurance-container {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    margin-top: 5px;
}

.dni-upload-container {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    margin-top: 5px;
}

/* Estilos para el generador de descuentos */
.discount-generator-container {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.discount-generator-container h2 {
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    margin-top: 0;
}

#generated-code {
    font-weight: bold;
    color: #0073aa;
}

.discounts-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.discounts-table th, .discounts-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.discounts-table th {
    background-color: #f2f2f2;
}

/* Responsive styles */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .button {
        width: 100%;
        margin-top: 10px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .image-preview img {
        max-width: 150px;
        max-height: 100px;
    }
    
    .datepicker {
        width: 100% !important;
    }
    
    .ui-datepicker {
        width: 90% !important;
    }
}

/* Select2 styles */
.select2-container {
    width: 100% !important;
}

.select2-selection {
    height: 34px !important;
    padding: 3px !important;
}

.select2-selection__arrow {
    height: 32px !important;
}