/* Estilos para el calendario frontend - Colores Corporativos */
.course-calendar-container {
    max-width: 100%;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #F2F2F2;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(175, 75, 47, 0.15);
    overflow: hidden;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #AF4B2F;
    color: white;
}

.calendar-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 300;
    text-align: center;
    flex: 1;
}
#course-details {
    padding: 30px;
    background: #F2F2F2;
    max-height: 60vh; /* Añadir */
    overflow-y: auto; /* Añadir */
}
.calendar-header button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.calendar-header button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

#calendar-grid-frontend {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    background: #E8E1D8;
}

.calendar-day-header-frontend {
    background: #AF4B2F;
    color: white;
    padding: 15px 10px;
    font-weight: 600;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.calendar-day-frontend {
    background: #F2F2F2;
    min-height: 140px;
    padding: 12px;
    border: 1px solid #E8E1D8;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.calendar-day-frontend:hover {
    background: #E8E1D8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(175, 75, 47, 0.2);
}

.calendar-day-frontend.other-month {
    background: #E8E1D8;
    color: #999;
}

.calendar-day-frontend.today {
    background: #AF4B2F;
    color: white;
    box-shadow: 0 4px 20px rgba(175, 75, 47, 0.4);
}

.calendar-day-frontend.today .day-number-frontend {
    color: white;
}

.day-number-frontend {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.course-item-frontend {
    background: #AF4B2F;
    color: white;
    padding: 6px 10px;
    margin: 4px 0;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
}

.course-item-frontend:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(175, 75, 47, 0.4);
    z-index: 5;
    background: #8B3A25;
}

.course-item-frontend::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0 4px 4px 0;
}

/* Modal para detalles del curso */
.course-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.course-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #F2F2F2;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(175, 75, 47, 0.3);
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.course-modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    background: #AF4B2F;
    color: white;
    padding: 25px 30px;
    position: relative;
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 300;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#course-details {
    padding: 30px;
    background: #F2F2F2;
}

.course-detail-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding: 12px;
    background: #E8E1D8;
    border-radius: 8px;
    border-left: 4px solid #AF4B2F;
}

.course-detail-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    color: #AF4B2F;
}

.course-detail-label {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
    min-width: 80px;
}

.course-detail-value {
    color: #666;
    flex: 1;
}

.course-description {
    margin-top: 20px;
    padding: 20px;
    background: #E8E1D8;
    border-radius: 8px;
    line-height: 1.6;
    color: #555;
}

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(175, 75, 47, 0.2);
}

.course-price {
    font-size: 28px;
    font-weight: bold;
    color: #AF4B2F;
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: #E8E1D8;
    border-radius: 8px;
    border: 2px solid #AF4B2F;
}

.modal-footer {
    padding: 20px 30px;
    background: #E8E1D8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Selector de estudiantes */
.student-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.student-selector label {
    font-weight: 600;
    color: #333;
}

.student-selector select {
    padding: 8px 12px;
    border: 2px solid #AF4B2F;
    border-radius: 6px;
    background: #F2F2F2;
    color: #333;
    font-size: 14px;
}

.student-selector select:focus {
    outline: none;
    border-color: #8B3A25;
    background: white;
}

#book-course {
    background: #AF4B2F;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
}

#book-course:hover {
    background: #8B3A25;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(175, 75, 47, 0.4);
}

.course-spots {
    color: #AF4B2F;
    font-size: 14px;
    font-weight: 600;
}

.course-spots.limited {
    color: #dc3545;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Filtros */
.calendar-filters {
    padding: 20px 30px;
    background: #E8E1D8;
    border-bottom: 1px solid #AF4B2F;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: #333;
}

.filter-group select,
.filter-group input {
    padding: 8px 12px;
    border: 2px solid #AF4B2F;
    border-radius: 6px;
    font-size: 14px;
    background: #F2F2F2;
    color: #333;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #8B3A25;
    background: white;
}

.filter-group button {
    padding: 8px 16px;
    background: #AF4B2F;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filter-group button:hover {
    background: #8B3A25;
}

/* Leyenda de categorías */
.category-legend {
    padding: 20px 30px;
    background: #F2F2F2;
    border-top: 1px solid #E8E1D8;
}

.category-legend h4 {
    margin: 0 0 15px 0;
    color: #AF4B2F;
    font-size: 16px;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #E8E1D8;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #AF4B2F;
    box-shadow: 0 1px 3px rgba(175, 75, 47, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .course-calendar-container {
        margin: 10px;
        border-radius: 8px;
    }
    
    .calendar-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .calendar-header h2 {
        font-size: 24px;
    }
    
    #calendar-grid-frontend {
        grid-template-columns: 1fr;
    }
    
    .calendar-day-header-frontend {
        display: none;
    }
    
    .calendar-day-frontend {
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 60px;
        border-bottom: 1px solid #E8E1D8;
        border-left: none;
        border-right: none;
    }
    
    .day-number-frontend {
        margin-bottom: 0;
        min-width: 40px;
    }
    
    .courses-container-frontend {
        flex: 1;
        margin-left: 15px;
    }
    
    .course-item-frontend {
        margin: 2px 0;
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .modal-content {
        width: 95%;
        margin: 2% auto;
    }
    
    .calendar-filters {
        padding: 15px 20px;
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .legend-items {
        justify-content: center;
    }
    
    .modal-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    #book-course {
        width: 100%;
        margin-top: 10px;
    }
}

/* Animaciones */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.calendar-day-frontend {
    animation: fadeIn 0.5s ease;
}

.course-item-frontend {
    animation: slideInUp 0.3s ease;
}

/* Estados de carga */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #E8E1D8;
    border-top: 2px solid #AF4B2F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#contact-whatsapp {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

#contact-whatsapp:hover {
    background: #1ebe57 !important;
    border-color: #1ebe57 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
/* Responsive */
@media (max-width: 768px) {
    .course-calendar-container {
        margin: 10px;
        border-radius: 8px;
    }
    
    .calendar-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .calendar-header h2 {
        font-size: 24px;
    }
    
    #calendar-grid-frontend {
        grid-template-columns: 1fr;
    }
    
    .calendar-day-header-frontend {
        display: none;
    }
    
    .calendar-day-frontend {
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 60px;
        border-bottom: 1px solid #E8E1D8;
        border-left: none;
        border-right: none;
        position: relative;
    }
    
    .calendar-day-frontend.other-month {
        display: none; /* Ocultar días de otros meses en móvil */
    }
    
    .day-number-frontend {
        margin-bottom: 0;
        min-width: 80px;
        font-size: 16px;
        position: relative;
    }
    
    /* Mostrar día de la semana en móvil */
    .day-number-frontend::after {
        content: attr(data-day-name);
        display: block;
        font-size: 12px;
        color: #666;
        font-weight: normal;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .courses-container-frontend {
        flex: 1;
        margin-left: 15px;
    }
    
    .course-item-frontend {
        margin: 2px 0;
        padding: 4px 8px;
        font-size: 11px;
    }
	
	/* ========================================
   FORMULARIO DE RESERVA CON ASISTENTES
   ======================================== */

.booking-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.booking-form {
    background: #F2F2F2;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: slideInUp 0.4s ease;
}

.booking-form h3 {
    background: #AF4B2F;
    color: white;
    margin: 0;
    padding: 25px 60px 25px 30px;
    border-radius: 16px 16px 0 0;
    font-size: 22px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.close-booking-form {
    position: absolute;
    right: 20px;
    top: 20px;
    color: white;
    font-size: 32px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 11;
    line-height: 1;
}

.close-booking-form:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

.booking-summary {
    background: #E8E1D8;
    padding: 20px;
    margin: 20px 30px;
    border-radius: 8px;
    border-left: 4px solid #AF4B2F;
}

.booking-summary p {
    margin: 8px 0;
    color: #333;
}

.booking-summary .total-price {
    font-size: 20px;
    color: #AF4B2F;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #AF4B2F;
}

.attendees-info-notice {
    background: #e3f2fd;
    padding: 15px 20px;
    margin: 0 30px 20px 30px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.attendees-info-notice p {
    margin: 0;
    color: #1565c0;
    font-size: 14px;
}

/* Secciones de asistentes */
.attendees-container {
    padding: 0 30px;
}

.attendee-section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 2px solid #E8E1D8;
    transition: all 0.3s ease;
}

.attendee-section:hover {
    border-color: #AF4B2F;
    box-shadow: 0 4px 12px rgba(175, 75, 47, 0.1);
}

.attendee-section h4 {
    margin: 0 0 15px 0;
    color: #AF4B2F;
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E8E1D8;
}

.attendee-section p {
    margin-bottom: 15px;
}

.attendee-section label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.attendee-section .required {
    color: #dc3545;
    margin-left: 3px;
}

.attendee-section input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.attendee-section input:focus {
    outline: none;
    border-color: #AF4B2F;
    box-shadow: 0 0 0 3px rgba(175, 75, 47, 0.1);
}

.attendee-section input.field-error {
    border-color: #dc3545;
    background: #fff5f5;
}

.attendee-section input.field-valid {
    border-color: #28a745;
    background: #f0fff4;
}

.field-error-message {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 600;
}

.attendee-section small {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

/* Sección de información adicional */
.additional-info-section {
    padding: 0 30px 20px 30px;
}

.additional-info-section label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.additional-info-section textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s ease;
}

.additional-info-section textarea:focus {
    outline: none;
    border-color: #AF4B2F;
    box-shadow: 0 0 0 3px rgba(175, 75, 47, 0.1);
}

/* Botones de acción */
.form-actions {
    padding: 20px 30px;
    background: #E8E1D8;
    border-top: 2px solid #ddd;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-submit {
    flex: 1;
    min-width: 200px;
    background: #AF4B2F;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover:not(:disabled) {
    background: #8B3A25;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(175, 75, 47, 0.4);
}

.btn-submit:disabled {
    background: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-cancel {
    background: #6c757d;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Spinner de carga */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Aviso de privacidad */
.privacy-notice {
    padding: 15px 30px 20px 30px;
    text-align: center;
}

.privacy-notice small {
    color: #666;
    font-size: 12px;
    line-height: 1.5;
}

/* Mensaje de éxito */
.success-message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.success-message {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.4s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px auto;
    animation: successPulse 0.6s ease;
}

.success-message h3 {
    color: #28a745;
    margin: 0 0 15px 0;
    font-size: 24px;
}

.success-message p {
    color: #333;
    margin: 10px 0;
    line-height: 1.6;
}

.success-total {
    font-size: 20px;
    color: #AF4B2F;
    font-weight: bold;
}

.btn-close-success {
    background: #AF4B2F;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-close-success:hover {
    background: #8B3A25;
    transform: translateY(-2px);
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes successPulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .booking-form {
        max-height: 95vh;
        margin: 10px;
        border-radius: 12px;
    }
    
    .booking-form h3 {
        font-size: 18px;
        padding: 20px 50px 20px 20px;
    }
    
    .booking-summary,
    .attendees-info-notice,
    .attendees-container,
    .additional-info-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .attendee-section {
        padding: 15px;
    }
    
    .attendee-section h4 {
        font-size: 16px;
    }
    
    .form-actions {
        flex-direction: column;
        padding: 15px 20px;
    }
    
    .btn-submit,
    .btn-cancel {
        width: 100%;
        min-width: unset;
    }
    
    .success-message {
        width: 95%;
        padding: 30px 20px;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    
    .success-message h3 {
        font-size: 20px;
    }
}

/* Scroll suave */
.booking-form {
    scrollbar-width: thin;
    scrollbar-color: #AF4B2F #E8E1D8;
}

.booking-form::-webkit-scrollbar {
    width: 8px;
}

.booking-form::-webkit-scrollbar-track {
    background: #E8E1D8;
}

.booking-form::-webkit-scrollbar-thumb {
    background: #AF4B2F;
    border-radius: 4px;
}

.booking-form::-webkit-scrollbar-thumb:hover {
    background: #8B3A25;
}
	}
/* ========================================
   CAMPOS DE ASISTENTES EN MODAL (INLINE)
   ======================================== */

.attendees-info-notice-inline {
    background: #e3f2fd;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.attendees-info-notice-inline p {
    margin: 0;
    color: #1565c0;
    font-size: 14px;
    font-weight: 600;
}

.attendees-container-inline {
    margin-top: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar personalizada */
.attendees-container-inline::-webkit-scrollbar {
    width: 8px;
}

.attendees-container-inline::-webkit-scrollbar-track {
    background: #E8E1D8;
    border-radius: 4px;
}

.attendees-container-inline::-webkit-scrollbar-thumb {
    background: #AF4B2F;
    border-radius: 4px;
}

.attendees-container-inline::-webkit-scrollbar-thumb:hover {
    background: #8B3A25;
}

.attendee-section-inline {
    background: #F2F2F2;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 2px solid #E8E1D8;
    transition: all 0.3s ease;
}

.attendee-section-inline:hover {
    border-color: #AF4B2F;
    box-shadow: 0 4px 12px rgba(175, 75, 47, 0.1);
}

.attendee-title {
    margin: 0 0 15px 0;
    color: #AF4B2F;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E8E1D8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-responsible {
    background: #4caf50;
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.attendee-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.field-group {
    position: relative;
}

.field-group-email {
    grid-column: 1 / -1;
}

.field-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 13px;
}

.required {
    color: #dc3545;
    margin-left: 2px;
}

.attendee-field-inline {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.attendee-field-inline:focus {
    outline: none;
    border-color: #AF4B2F;
    box-shadow: 0 0 0 3px rgba(175, 75, 47, 0.1);
}

.attendee-field-inline.field-error {
    border-color: #dc3545;
    background: #fff5f5;
}

.attendee-field-inline.field-valid {
    border-color: #28a745;
    background: #f0fff4;
}

.field-error-message {
    display: block;
    color: #dc3545;
    font-size: 11px;
    margin-top: 4px;
    font-weight: 600;
}

.field-group small {
    display: block;
    color: #666;
    font-size: 11px;
    margin-top: 5px;
    font-style: italic;
}

/* Animación de entrada */
.attendee-section-inline {
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .attendee-fields-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .attendees-container-inline {
        max-height: 300px;
    }
    
    .attendee-section-inline {
        padding: 12px;
    }
    
    .attendee-title {
        font-size: 14px;
    }
    
    .badge-responsible {
        font-size: 10px;
        padding: 2px 6px;
    }
}