/* ========================================
   PROTECCIÓN CONTRA CONTAMINACIÓN DEL TEMA
   ======================================== */

/* Reset CSS para aislar el plugin de estilos del tema */
.reservations-plugin-wrapper {
    all: initial;
    display: block;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.reservations-plugin-wrapper *,
.reservations-plugin-wrapper *::before,
.reservations-plugin-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.reservations-plugin-wrapper a {
    color: inherit;
    text-decoration: none;
}

.reservations-plugin-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

.reservations-plugin-wrapper button,
.reservations-plugin-wrapper input,
.reservations-plugin-wrapper select,
.reservations-plugin-wrapper textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* ========================================
   ESTILOS DEL PLUGIN (ENCAPSULADOS)
   ======================================== */

.reservations-plugin-wrapper .final-location-wrap {
    max-width: 760px;
    display: inline-block;
    vertical-align: top;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

/* Controlar layout del resumen para evitar desbordes de ubicación */
.reservations-plugin-wrapper .booking-summary-details .summary-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.reservations-plugin-wrapper .booking-summary-details .summary-item > span:first-child {
    flex: 0 0 110px; /* ancho fijo para label */
}

.reservations-plugin-wrapper .booking-summary-details .summary-item .final-location-wrap {
    flex: 1 1 auto;
    max-width: 65%;
}

@media (max-width: 768px) {
    .reservations-plugin-wrapper .booking-summary-details .summary-item .final-location-wrap {
        max-width: 100%;
    }
}
.reservations-plugin-wrapper .extras-iframe-container {
    max-height: 560px; /* más alto para ver más cards sin scrollear tanto */
    overflow: auto;
    padding: 20px 16px 16px 16px; /* aún más aire para que no se corte nada */
    box-sizing: border-box;   /* asegurarnos que el padding no incremente el ancho total */
    scroll-padding-top: 20px; /* acompaña el padding superior */
    background: #fff;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
}

/* Títulos de categoría de extras */
.reservations-plugin-wrapper .extras-category-title {
    color: #7B47B6; /* morado */
    font-size: 22px; /* más grande */
    font-weight: 800;
    margin: 10px 4px 14px;
    text-transform: capitalize; /* capital inicial */
}

/* Descripción debajo del título de Extras */
.reservations-plugin-wrapper .extras-section .description {
    font-size: 15px;
    color: #555;
    margin: 6px 0 12px;
}

.reservations-plugin-wrapper .extras-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.reservations-plugin-wrapper .extra-card {
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.reservations-plugin-wrapper .extra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(123, 71, 182, 0.15);
    border-color: #7B47B6;
}

.reservations-plugin-wrapper .extra-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.reservations-plugin-wrapper .extra-body {
    padding: 14px;
}

.reservations-plugin-wrapper .extra-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
}

.reservations-plugin-wrapper .extra-desc {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.reservations-plugin-wrapper .extra-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reservations-plugin-wrapper .extra-price {
    font-weight: 700;
    color: #7B47B6;
}

.reservations-plugin-wrapper .extra-qty {
    display: inline-flex;
    align-items: center;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
}

.reservations-plugin-wrapper .qty-btn {
    background: #f3f4f6;
    border: none;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #374151;
}

.reservations-plugin-wrapper .qty-btn:hover {
    background: #e5e7eb;
}

.reservations-plugin-wrapper .extra-quantity {
    width: 48px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 2px solid #E0E0E0;
    border-right: 2px solid #E0E0E0;
    -moz-appearance: textfield;
}

/* Ocultar flechas de inputs numéricos (estilo de textfield) */
.reservations-plugin-wrapper .extra-quantity::-webkit-inner-spin-button,
.reservations-plugin-wrapper .extra-quantity::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Chuck E. Cheese Logo */
.reservations-plugin-wrapper .booking-logo {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.reservations-plugin-wrapper .cec-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .reservations-plugin-wrapper .cec-logo {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .reservations-plugin-wrapper .cec-logo {
        max-width: 120px;
    }
}

.reservations-plugin-wrapper .reservations-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.reservations-plugin-wrapper .reservations-package-card {
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.reservations-plugin-wrapper .reservations-package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(123, 71, 182, 0.15);
    border-color: #7B47B6;
}

.reservations-plugin-wrapper .package-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.reservations-plugin-wrapper .package-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reservations-plugin-wrapper .package-content {
    padding: 1.5rem;
}

.reservations-plugin-wrapper .package-title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    color: #333;
}

.reservations-plugin-wrapper .package-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: #7B47B6;
    margin-bottom: 1rem;
}

.reservations-plugin-wrapper .package-description {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.4;
}

.reservations-plugin-wrapper .package-duration {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.reservations-plugin-wrapper .reservations-book-now {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #7B47B6 0%, #9B59B6 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    text-align: center;
    min-width: 140px;
}

.reservations-plugin-wrapper .reservations-book-now:hover {
    background: linear-gradient(135deg, #6A3A9A 0%, #8E44AD 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 71, 182, 0.4);
    text-decoration: none;
}

/* Reservations Booking Form Styles */

.reservations-plugin-wrapper .reservations-booking-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    padding: 20px;
}

/* Progress Steps */
.reservations-plugin-wrapper .booking-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    padding: 0 20px;
    gap: 40px;
}

.reservations-plugin-wrapper .progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.45; /* pasos no activos más tenues */
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.reservations-plugin-wrapper .progress-step.active {
    opacity: 1;
}

/* Pasos completados (anteriores) un poco más visibles que inactivos */
.reservations-plugin-wrapper .progress-step.completed {
    opacity: 0.8;
}

.reservations-plugin-wrapper .step-number {
    background: #7B47B6;
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
    box-shadow: 0 0 0 0 rgba(123, 71, 182, 0.5);
    transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.reservations-plugin-wrapper .progress-step.active .step-number {
    background: linear-gradient(135deg, #7B47B6 0%, #9B59B6 100%);
    box-shadow: 0 0 0 6px rgba(123, 71, 182, 0.15), 0 8px 18px rgba(123, 71, 182, 0.25);
    transform: translateY(-1px);
}

.reservations-plugin-wrapper .step-label {
    font-size: 12px;
    text-align: center;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 120px;
    line-height: 1.2;
}

/* Main Content Layout */
.reservations-plugin-wrapper .booking-main-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Left Side: Form */
.reservations-plugin-wrapper .booking-form-section {
    flex: 2;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.reservations-plugin-wrapper .step-header {
    background: #7B47B6 !important;
    color: white !important;
    padding: 25px 30px !important;
    border-radius: 8px 8px 0 0 !important;
    margin: 0 !important;
}

.reservations-plugin-wrapper .step-header h2 {
    margin: 0 !important;
    font-size: 24px !important;
    font-weight: bold !important;
    color: white !important;
    line-height: 1.3 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.reservations-plugin-wrapper .booking-form {
    padding: 35px;
}

.reservations-plugin-wrapper .form-group {
    margin-bottom: 20px;
    position: relative;
}

.reservations-plugin-wrapper .form-row {
    display: flex;
    gap: 20px;
}

.reservations-plugin-wrapper .form-row .form-group {
    flex: 1;
}

.reservations-plugin-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #7B47B6;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reservations-plugin-wrapper label.required::after {
    content: " *";
    color: #E85A72;
}

.reservations-plugin-wrapper input:not([type="checkbox"]):not([type="radio"]),
.reservations-plugin-wrapper select {
    width: 100%;
    padding: 15px;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background: white;
}

.reservations-plugin-wrapper input:not([type="checkbox"]):not([type="radio"]):focus,
.reservations-plugin-wrapper select:focus {
    border-color: #7B47B6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 71, 182, 0.1);
}

.reservations-plugin-wrapper input::placeholder {
    color: #999;
    font-style: italic;
}

/* Date picker styles */
.reservations-plugin-wrapper .date-input-wrapper {
    position: relative;
}

.reservations-plugin-wrapper .date-input-wrapper input {
    cursor: pointer;
    padding-right: 50px;
}

.reservations-plugin-wrapper .date-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    pointer-events: none;
    color: #7B47B6;
}

/* Flatpickr custom styling */
/* Nota: Flatpickr se inyecta en el body, fuera del wrapper, así que necesita estilos globales */
.flatpickr-calendar.reservations-datepicker,
.reservations-plugin-wrapper .flatpickr-calendar {
    font-family: Arial, sans-serif !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    border: 2px solid #7B47B6 !important;
    overflow: hidden !important;
    background: white !important;
    width: 320px !important;
}

.reservations-plugin-wrapper .flatpickr-calendar.open {
    z-index: 9999 !important;
}

.reservations-plugin-wrapper .flatpickr-calendar.reservations-datepicker {
    border: 2px solid #7B47B6 !important;
}

.reservations-plugin-wrapper .flatpickr-calendar.reservations-datepicker .flatpickr-months {
    background: linear-gradient(135deg, #7B47B6 0%, #9B59B6 100%) !important;
}

.reservations-plugin-wrapper .flatpickr-months {
    background: linear-gradient(135deg, #7B47B6 0%, #9B59B6 100%) !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 15px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: auto !important;
    min-height: 50px !important;
}

.reservations-plugin-wrapper .flatpickr-months .flatpickr-month {
    color: white !important;
    font-weight: bold !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    text-align: center !important;
    height: auto !important;
}

.reservations-plugin-wrapper .flatpickr-current-month {
    color: white !important;
    font-weight: bold !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
}

.reservations-plugin-wrapper .flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent !important;
    border: none !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 18px !important;
    text-align: center !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.reservations-plugin-wrapper .flatpickr-current-month .numInputWrapper {
    display: inline-block !important;
    position: relative !important;
}

.reservations-plugin-wrapper .flatpickr-current-month .cur-year {
    background: transparent !important;
    border: none !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 18px !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 0 0 5px !important;
    width: 60px !important;
}

.reservations-plugin-wrapper .flatpickr-months .flatpickr-prev-month,
.reservations-plugin-wrapper .flatpickr-months .flatpickr-next-month {
    color: white !important;
    fill: white !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    position: static !important;
    top: auto !important;
    cursor: pointer !important;
    z-index: 3 !important;
}

.reservations-plugin-wrapper .flatpickr-weekdays {
    background: #f8f9fa !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.reservations-plugin-wrapper .flatpickr-weekday {
    color: #7B47B6 !important;
    font-weight: bold !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.reservations-plugin-wrapper .flatpickr-days {
    padding: 10px !important;
}

.reservations-plugin-wrapper .flatpickr-day {
    border-radius: 8px !important;
    margin: 2px !important;
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #333 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.reservations-plugin-wrapper .flatpickr-day:hover {
    background: #E8F4FD !important;
    border-color: #7B47B6 !important;
    color: #7B47B6 !important;
    transform: scale(1.05) !important;
}

.reservations-plugin-wrapper .flatpickr-day.selected,
.reservations-plugin-wrapper .flatpickr-day.selected:hover {
    background: linear-gradient(135deg, #7B47B6 0%, #9B59B6 100%) !important;
    border-color: #7B47B6 !important;
    color: white !important;
    font-weight: bold !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(123, 71, 182, 0.3) !important;
}

.reservations-plugin-wrapper .flatpickr-day.today {
    border-color: #E85A72 !important;
    color: #E85A72 !important;
    font-weight: bold !important;
    background: rgba(232, 90, 114, 0.1) !important;
}

.reservations-plugin-wrapper .flatpickr-day.today:hover {
    background: #E85A72 !important;
    color: white !important;
    border-color: #E85A72 !important;
    transform: scale(1.05) !important;
}

.reservations-plugin-wrapper .flatpickr-day.today.selected {
    background: linear-gradient(135deg, #E85A72 0%, #D64A62 100%) !important;
    border-color: #E85A72 !important;
    color: white !important;
}

.reservations-plugin-wrapper .flatpickr-day.disabled {
    color: #ccc !important;
    cursor: not-allowed !important;
    background: #f5f5f5 !important;
    opacity: 0.5 !important;
}

.reservations-plugin-wrapper .flatpickr-day.disabled:hover {
    background: #f5f5f5 !important;
    transform: none !important;
    border-color: transparent !important;
}

.reservations-plugin-wrapper .flatpickr-day.nextMonthDay,
.reservations-plugin-wrapper .flatpickr-day.prevMonthDay {
    color: #ccc !important;
    opacity: 0.5 !important;
}

.reservations-plugin-wrapper .flatpickr-day.nextMonthDay:hover,
.reservations-plugin-wrapper .flatpickr-day.prevMonthDay:hover {
    background: #f0f0f0 !important;
    color: #999 !important;
}

/* Mobile date picker adjustments */
@media (max-width: 768px) {
    .reservations-plugin-wrapper .time-slot-hour { width: 85px; padding: 18px 10px; }
    .reservations-plugin-wrapper .flatpickr-calendar {
        width: 100% !important;
        max-width: 300px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 10px !important;
    }
    
    .reservations-plugin-wrapper .flatpickr-months {
        padding: 15px 10px !important;
    }
    
    .reservations-plugin-wrapper .flatpickr-day {
        width: 35px !important;
        height: 35px !important;
        line-height: 35px !important;
        font-size: 13px !important;
        margin: 1px !important;
    }
}

.reservations-plugin-wrapper .form-note {
    margin: 25px 0;
    font-size: 14px;
    color: #666;
}

/* Time Slots (Horarios) */
.reservations-plugin-wrapper .time-slots-container {
    border: 2px solid #E0E0E0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    overflow: hidden !important;
}

.reservations-plugin-wrapper .timeslots-empty {
    padding: 16px !important;
    color: #666 !important;
    font-size: 14px !important;
}

.reservations-plugin-wrapper .time-slots-loading {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 16px !important;
    color: #7B47B6 !important;
}

.reservations-plugin-wrapper .time-slots-loading .spinner {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(123, 71, 182, 0.3) !important;
    border-top-color: #7B47B6 !important;
    border-radius: 50% !important;
    animation: spin 0.8s linear infinite !important;
}

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

.reservations-plugin-wrapper .time-slot-row {
    display: flex !important;
    align-items: stretch !important;
    border-top: 1px solid #F0F0F0 !important;
    cursor: pointer !important;
    background: #fff !important;
    min-height: 80px !important;
    margin: 0 !important;
}

.reservations-plugin-wrapper .time-slot-row:first-child {
    border-top: none !important;
}

.reservations-plugin-wrapper .time-slot-row:first-child .time-slot-hour {
    border-radius: 10px 0 0 0 !important;
}

.reservations-plugin-wrapper .time-slot-row:last-child .time-slot-hour {
    border-radius: 0 0 0 10px !important;
}

.reservations-plugin-wrapper .time-slot-hour {
    background: linear-gradient(135deg, #7B47B6 0%, #9B59B6 100%) !important;
    color: #fff !important;
    padding: 20px 12px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 80px !important;
    width: 90px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.reservations-plugin-wrapper .time-slot-body {
    padding: 20px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-self: stretch !important;
    height: auto !important;
    min-height: 80px !important;
    flex: 1 1 auto !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.reservations-plugin-wrapper .time-slot-range {
    font-weight: 700 !important;
    color: #333 !important;
    margin: 0 0 6px 0 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.reservations-plugin-wrapper .time-slot-note {
    color: #7B47B6 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 400 !important;
}

.reservations-plugin-wrapper .time-slot-row:hover {
    background: #FBFEFF !important;
}

.reservations-plugin-wrapper .time-slot-row.selected {
    outline: 2px solid #7B47B6 !important;
    background: #F8F4FF !important;
}

.reservations-plugin-wrapper .time-slot-row.disabled {
    cursor: not-allowed !important;
    background: #F6F0FF !important;
    opacity: 0.7 !important;
}

.reservations-plugin-wrapper .time-slot-row.disabled .time-slot-hour {
    background: linear-gradient(135deg, #7B47B6 0%, #9B59B6 100%) !important;
    color: #fff !important;
}

.reservations-plugin-wrapper .time-slot-row.disabled .time-slot-range,
.reservations-plugin-wrapper .time-slot-row.disabled .time-slot-note {
    color: #7B47B6 !important;
}

.reservations-plugin-wrapper .policy-note {
    background: #F8F9FA;
    padding: 20px;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    margin: 25px 0;
    border-left: 4px solid #7B47B6;
}

.reservations-plugin-wrapper .form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 0;
    gap: 20px;
    padding: 25px 20px 20px 20px;
    border-top: 1px solid #E0E0E0;
}

.reservations-plugin-wrapper .btn {
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reservations-plugin-wrapper .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 71, 182, 0.3);
}

.reservations-plugin-wrapper .btn-primary {
    background: linear-gradient(135deg, #7B47B6 0%, #9B59B6 100%);
    color: white;
    border: 2px solid transparent;
}

.reservations-plugin-wrapper .btn-primary:hover {
    background: linear-gradient(135deg, #6A3A9A 0%, #8E44AD 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 71, 182, 0.4);
}

.reservations-plugin-wrapper .btn-secondary {
    background: #F8F9FA;
    color: #6C757D;
    border: 2px solid #E0E0E0;
}

.reservations-plugin-wrapper .btn-secondary:hover {
    background: #E9ECEF;
    border-color: #ADB5BD;
    color: #495057;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Chuck E. Cheese themed button alternative */
.reservations-plugin-wrapper .btn-chuck {
    background: linear-gradient(135deg, #8E44AD 0%, #9B59B6 50%, #AF7AC5 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: 3px solid #F39C12;
    position: relative;
}

.reservations-plugin-wrapper .btn-chuck::after {
    content: '🎉';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.8;
}

.reservations-plugin-wrapper .btn-chuck:hover {
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 50%, #7D3C98 100%);
    border-color: #E67E22;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(142, 68, 173, 0.4);
}

/* Success button state */
.reservations-plugin-wrapper .btn-success {
    background: linear-gradient(135deg, #00B894 0%, #00A085 100%);
    color: white;
}

.reservations-plugin-wrapper .btn-success:hover {
    background: linear-gradient(135deg, #00A085 0%, #008B72 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4);
}

/* Right Side: Summary */
.reservations-plugin-wrapper .booking-summary {
    flex: 1;
    background: #F8F9FA;
    padding: 25px;
    border-radius: 8px;
    height: fit-content;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.reservations-plugin-wrapper .summary-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E0E0E0;
    opacity: 1; /* sin desvanecido */
    transition: opacity 0.3s ease;
}

.reservations-plugin-wrapper .summary-section.active {
    opacity: 1;
}

.reservations-plugin-wrapper .summary-section:last-of-type {
    border-bottom: none;
}

.reservations-plugin-wrapper .summary-section h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 15px 0;
    color: #7B47B6;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reservations-plugin-wrapper .summary-section h3 .step-number {
    width: 25px;
    height: 25px;
    font-size: 12px;
}

.reservations-plugin-wrapper .summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.reservations-plugin-wrapper .summary-item label {
    color: #666;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
    margin: 0;
    margin-right: 8px;
}

.reservations-plugin-wrapper .summary-item span {
    font-weight: bold;
    color: #333;
}

.reservations-plugin-wrapper .total-section {
    border-top: 2px solid #7B47B6;
    padding-top: 20px;
    margin-top: 20px;
}

.reservations-plugin-wrapper .estimated-total,
.reservations-plugin-wrapper .final-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #7B47B6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reservations-plugin-wrapper .estimated-total .amount,
.reservations-plugin-wrapper .final-total .amount {
    color: #333;
    font-weight: bold;
}

.reservations-plugin-wrapper .final-total {
    font-weight: bold;
    font-size: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #E0E0E0;
    color: #7B47B6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reservations-plugin-wrapper .final-total .amount {
    color: #333;
    font-weight: bold;
    font-size: 20px;
}

.reservations-plugin-wrapper .tax-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #7B47B6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reservations-plugin-wrapper .tax-line .amount {
    color: #333;
    font-weight: bold;
}

.reservations-plugin-wrapper .tax-note {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin: 15px 0;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reservations-plugin-wrapper .booking-main-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .reservations-plugin-wrapper .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .reservations-plugin-wrapper .booking-progress {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .reservations-plugin-wrapper .step-label {
        font-size: 10px;
        max-width: 100px;
    }
    
    .reservations-plugin-wrapper .booking-form {
        padding: 25px;
    }
    
    .reservations-plugin-wrapper .form-actions {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
        margin-bottom: 0;
        padding: 20px 15px 15px 15px;
        border-top: 1px solid #E0E0E0;
    }
    
    .reservations-plugin-wrapper .btn {
        width: 100%;
        padding: 18px 30px;
        font-size: 16px;
        min-width: auto;
        letter-spacing: 0.6px;
    }
    
    .reservations-plugin-wrapper .btn-secondary {
        order: 2;
    }
    
    .reservations-plugin-wrapper .btn-primary {
        order: 1;
    }
    
    /* Responsive packages grid */
    .reservations-plugin-wrapper .packages-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 15px;
    }
    
    .reservations-plugin-wrapper .package-card {
        margin-bottom: 15px;
    }
    
    .reservations-plugin-wrapper .package-card .package-content {
        padding: 15px;
    }
    
    .reservations-plugin-wrapper .package-card .package-actions {
        padding: 10px 15px;
    }
    
    .reservations-plugin-wrapper .package-card .select-package-btn {
        padding: 10px 15px;
        font-size: 12px;
        letter-spacing: 0.3px;
        word-break: break-word;
    }
    
    .reservations-plugin-wrapper .package-card h3 {
        font-size: 16px;
    }
    
    .reservations-plugin-wrapper .package-card .package-price {
        font-size: 18px;
    }
    
    .reservations-plugin-wrapper .package-card .package-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .reservations-plugin-wrapper .reservations-booking-container {
        padding: 10px;
    }
    
    .reservations-plugin-wrapper .booking-progress {
        gap: 15px;
        padding: 0 10px;
    }
    
    .reservations-plugin-wrapper .step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .reservations-plugin-wrapper .step-label {
        font-size: 9px;
        max-width: 80px;
    }
    
    .reservations-plugin-wrapper .btn {
        width: 100%;
        padding: 16px 25px;
        font-size: 15px;
        letter-spacing: 0.6px;
        border-radius: 8px;
        min-width: auto;
    }
    
    .reservations-plugin-wrapper .btn-chuck::after {
        font-size: 16px;
        right: 12px;
    }
    
    /* Extra responsive for package cards on very small screens */
    .reservations-plugin-wrapper .packages-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 10px;
    }
    
    .reservations-plugin-wrapper .package-card {
        border-radius: 6px;
        margin-bottom: 10px;
    }
    
    .reservations-plugin-wrapper .package-card .package-content {
        padding: 12px;
    }
    
    .reservations-plugin-wrapper .package-card .package-actions {
        padding: 8px 12px;
    }
    
    .reservations-plugin-wrapper .package-card .select-package-btn {
        padding: 8px 12px;
        font-size: 11px;
        letter-spacing: 0.2px;
        border-radius: 4px;
        line-height: 1.3;
    }
    
    .reservations-plugin-wrapper .package-card h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .reservations-plugin-wrapper .package-card .package-price {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .reservations-plugin-wrapper .package-card .package-description {
        font-size: 12px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .reservations-plugin-wrapper .package-card .package-duration {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .reservations-plugin-wrapper .package-card .package-image {
        height: 140px;
    }
}

/* Admin Form Styles */
.reservations-plugin-wrapper .form-table th {
    width: 200px;
}

.reservations-plugin-wrapper .form-table .required {
    color: #d63638;
}

.reservations-plugin-wrapper .reservations-detail-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
}

.reservations-plugin-wrapper .location-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.reservations-plugin-wrapper .location-actions .button {
    margin-right: 10px;
}

.reservations-plugin-wrapper .status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.reservations-plugin-wrapper .status-confirmed {
    background-color: #00a32a;
    color: white;
}

.reservations-plugin-wrapper .status-cancelled {
    background-color: #d63638;
    color: white;
}

.reservations-plugin-wrapper .status-pending {
    background-color: #dba617;
    color: white;
}

/* Additional form enhancements */
.reservations-plugin-wrapper .form-group.has-error input,
.reservations-plugin-wrapper .form-group.has-error select {
    border-color: #E74C3C;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.reservations-plugin-wrapper .form-group.has-success input,
.reservations-plugin-wrapper .form-group.has-success select {
    border-color: #00B894;
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

.reservations-plugin-wrapper .error-message {
    color: #E74C3C;
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.reservations-plugin-wrapper .error-message::before {
    content: '⚠️';
    font-size: 14px;
}

.reservations-plugin-wrapper .success-message {
    color: #00B894;
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.reservations-plugin-wrapper .success-message::before {
    content: '✅';
    font-size: 14px;
}

/* Step content animations */
.reservations-plugin-wrapper .step-content {
    animation: slideInFromRight 0.4s ease-out;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Step 2: Package Selection Styles */
.reservations-plugin-wrapper .packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.reservations-plugin-wrapper .package-card {
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background: white;
    width: 100%;
    box-sizing: border-box;
}

.reservations-plugin-wrapper .package-card:hover {
    border-color: #7B47B6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 71, 182, 0.15);
}

.reservations-plugin-wrapper .package-card.selected {
    border-color: #7B47B6;
    box-shadow: 0 0 0 3px rgba(123, 71, 182, 0.2);
    transform: translateY(-2px);
}

.reservations-plugin-wrapper .package-card .package-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}

.reservations-plugin-wrapper .package-card .package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reservations-plugin-wrapper .package-card .package-content {
    padding: 20px;
}

.reservations-plugin-wrapper .package-card h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.reservations-plugin-wrapper .package-card .package-price {
    font-size: 20px;
    font-weight: bold;
    color: #7B47B6;
    margin-bottom: 12px;
}

.reservations-plugin-wrapper .package-card .package-description {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.reservations-plugin-wrapper .package-card .package-duration {
    color: #888;
    font-size: 13px;
    margin-bottom: 15px;
}

.reservations-plugin-wrapper .package-card .package-actions {
    padding: 15px 20px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    position: relative;
}

.reservations-plugin-wrapper .package-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.reservations-plugin-wrapper .package-card .select-package-btn {
    display: block;
    width: 100%;
    padding: 12px 15px;
    background: #E0E0E0;
    color: #666;
    text-align: center;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    font-size: 14px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.reservations-plugin-wrapper .package-card input[type="radio"]:checked + .select-package-btn {
    background: #7B47B6;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(123, 71, 182, 0.3);
}

.reservations-plugin-wrapper .package-card input[type="radio"]:checked + .select-package-btn::before {
    content: "✓ ";
    font-weight: bold;
    margin-right: 5px;
}

.reservations-plugin-wrapper .package-card .select-package-btn:hover {
    background: #D0D0D0;
    transform: translateY(-1px);
}

.reservations-plugin-wrapper .package-card input[type="radio"]:checked + .select-package-btn:hover {
    background: #6A3A9A;
}

/* Selected package indicator */
.reservations-plugin-wrapper .package-card input[type="radio"]:checked ~ .package-content {
    position: relative;
}

.reservations-plugin-wrapper .package-card input[type="radio"]:checked ~ .package-content::after {
    content: "✓";
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #7B47B6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(123, 71, 182, 0.3);
}

/* Make the entire package card clickable */
.reservations-plugin-wrapper .package-card {
    cursor: pointer;
    user-select: none;
}

.reservations-plugin-wrapper .package-card label {
    cursor: pointer;
}

/* Step 3: Contact Information Styles */
.reservations-plugin-wrapper input[type="checkbox"] {
    width: auto !important;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
    accent-color: #7B47B6;
    cursor: pointer;
}

/* Checkbox container styling */
.reservations-plugin-wrapper .form-group label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Override general label styles for checkbox labels */
.reservations-plugin-wrapper .form-group label input[type="checkbox"] {
    margin: 0;
    margin-right: 8px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Ensure checkbox text is clickable */
.reservations-plugin-wrapper .form-group label span {
    cursor: pointer;
    user-select: none;
}

/* Links within checkbox labels */
.reservations-plugin-wrapper .form-group label span a {
    color: #7B47B6;
    text-decoration: underline;
    cursor: pointer;
}

.reservations-plugin-wrapper .form-group label span a:hover {
    color: #6A3A9A;
    text-decoration: none;
}

/* Required checkbox styling - sin borde rojo molesto */
.reservations-plugin-wrapper .form-group label input[type="checkbox"]:required {
    /* Sin outline molesto */
}

.reservations-plugin-wrapper .form-group label input[type="checkbox"]:required:invalid {
    /* Sin outline rojo molesto */
}

.reservations-plugin-wrapper textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    background: white;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
}

.reservations-plugin-wrapper textarea:focus {
    border-color: #7B47B6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 71, 182, 0.1);
}

/* Step 4: Payment Form Styles */
.reservations-plugin-wrapper .payment-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    border-left: 4px solid #7B47B6;
}

.reservations-plugin-wrapper .payment-summary h3 {
    margin: 0 0 15px 0;
    color: #7B47B6;
    font-size: 18px;
}

.reservations-plugin-wrapper .booking-summary-details {
    margin-bottom: 15px;
}

.reservations-plugin-wrapper .booking-summary-details .summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.reservations-plugin-wrapper .booking-summary-details .summary-item span:first-child {
    color: #666;
}

.reservations-plugin-wrapper .booking-summary-details .summary-item span:last-child {
    font-weight: bold;
    color: #333;
}

.reservations-plugin-wrapper .payment-form {
    background: white;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.reservations-plugin-wrapper .payment-form h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.reservations-plugin-wrapper .payment-note {
    background: #E8F4FD;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #0073aa;
}

.reservations-plugin-wrapper .payment-note p {
    margin: 0;
    color: #0073aa;
    font-weight: 500;
    font-size: 16px; /* reducir tamaño del texto informativo */
}

@media (max-width: 768px) {
    .reservations-plugin-wrapper .payment-note p { font-size: 14px; }
}

.reservations-plugin-wrapper .payment-methods {
    margin-bottom: 25px;
}

.reservations-plugin-wrapper .payment-method {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.reservations-plugin-wrapper .payment-method:hover {
    border-color: #7B47B6;
    background: #f9f9f9;
}

/* Payment method styles now handled by global radio button styles below */

.reservations-plugin-wrapper .card-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.reservations-plugin-wrapper .flatpickr-months .flatpickr-prev-month:hover,
.reservations-plugin-wrapper .flatpickr-months .flatpickr-next-month:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.1) !important;
}

/* Custom Radio Button Styles - Remove Purple Outline */
.reservations-plugin-wrapper input[type="radio"] {
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 2px solid #ddd !important;
    position: relative;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.reservations-plugin-wrapper input[type="radio"]:checked {
    border-color: #7B47B6 !important;
    background: white;
    outline: none !important;
    box-shadow: none !important;
}

.reservations-plugin-wrapper input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7B47B6;
}

.reservations-plugin-wrapper input[type="radio"]:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #7B47B6 !important;
}

.reservations-plugin-wrapper input[type="radio"]:hover {
    border-color: #7B47B6 !important;
}

/* Payment method specific styles */
.reservations-plugin-wrapper .payment-method.selected {
    border-color: #7B47B6;
    background: #f8f4ff;
    box-shadow: 0 0 0 1px rgba(123, 71, 182, 0.2);
}

.reservations-plugin-wrapper .payment-method input[type="radio"]:checked + span {
    color: #7B47B6;
    font-weight: bold;
}

.reservations-plugin-wrapper .payment-method span {
    font-size: 16px;
    color: #333;
    user-select: none;
}

/* Location Selector Widget Styles */
.reservations-plugin-wrapper .reservations-location-widget {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.reservations-plugin-wrapper .reservations-location-selector {
    width: 100%;
}

.reservations-plugin-wrapper .location-dropdown-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.reservations-plugin-wrapper .location-select {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.reservations-plugin-wrapper .location-select:focus {
    border-color: #7B47B6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 71, 182, 0.1);
}

.reservations-plugin-wrapper .location-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
    color: #7B47B6;
}

.reservations-plugin-wrapper .btn-location-booking {
    display: block;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #7B47B6 0%, #9B59B6 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    text-align: center;
    margin-top: 15px;
}

.reservations-plugin-wrapper .btn-location-booking:hover:not(:disabled) {
    background: linear-gradient(135deg, #6A3A9A 0%, #8E44AD 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 71, 182, 0.4);
    text-decoration: none;
}

.reservations-plugin-wrapper .btn-location-booking:disabled {
    background: #E0E0E0;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.reservations-plugin-wrapper .location-info {
    background: #F8F9FA;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #7B47B6;
    margin-top: 15px;
}

.reservations-plugin-wrapper .location-details h4 {
    margin: 0 0 10px 0;
    color: #7B47B6;
    font-size: 16px;
    font-weight: bold;
}

.reservations-plugin-wrapper .location-details p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.reservations-plugin-wrapper .location-details p:empty {
    display: none;
}

/* Widget title styling */
.reservations-plugin-wrapper .widget-title {
    color: #7B47B6;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive styles for widget */
@media (max-width: 768px) {
    .reservations-plugin-wrapper .reservations-location-widget {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .reservations-plugin-wrapper .location-select {
        padding: 12px 45px 12px 12px;
        font-size: 15px;
    }
    
    .reservations-plugin-wrapper .location-icon {
        font-size: 18px;
        right: 12px;
    }
    
    .reservations-plugin-wrapper .btn-location-booking {
        padding: 14px 25px;
        font-size: 14px;
        letter-spacing: 0.6px;
    }
    
    .reservations-plugin-wrapper .widget-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .reservations-plugin-wrapper .reservations-location-widget {
        padding: 12px;
        border-radius: 6px;
    }
    
    .reservations-plugin-wrapper .location-select {
        padding: 10px 40px 10px 10px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    .reservations-plugin-wrapper .location-icon {
        font-size: 16px;
        right: 10px;
    }
    
    .reservations-plugin-wrapper .btn-location-booking {
        padding: 12px 20px;
        font-size: 13px;
        border-radius: 6px;
        margin-top: 12px;
    }
    
    .reservations-plugin-wrapper .location-info {
        padding: 12px;
        margin-top: 12px;
    }
    
    .reservations-plugin-wrapper .location-details h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .reservations-plugin-wrapper .location-details p {
        font-size: 13px;
    }
    
    .reservations-plugin-wrapper .widget-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
}

/* ========================================
   ESTILOS GLOBALES PARA FLATPICKR
   (Se inyecta fuera del wrapper en el body)
   ======================================== */

.flatpickr-calendar.open {
    z-index: 9999 !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-months {
    background: linear-gradient(135deg, #7B47B6 0%, #9B59B6 100%) !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-months {
    background: linear-gradient(135deg, #7B47B6 0%, #9B59B6 100%) !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 15px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: auto !important;
    min-height: 50px !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-months .flatpickr-month {
    color: white !important;
    font-weight: bold !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    text-align: center !important;
    height: auto !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-current-month {
    color: white !important;
    font-weight: bold !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-current-month .flatpickr-monthDropdown-months {
    background: transparent !important;
    border: none !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 18px !important;
    text-align: center !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-current-month .numInputWrapper {
    display: inline-block !important;
    position: relative !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-current-month .cur-year {
    background: transparent !important;
    border: none !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 18px !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 0 0 5px !important;
    width: 60px !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-months .flatpickr-prev-month,
.flatpickr-calendar.reservations-datepicker .flatpickr-months .flatpickr-next-month {
    color: white !important;
    fill: white !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    position: static !important;
    top: auto !important;
    cursor: pointer !important;
    z-index: 3 !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-weekdays {
    background: #f8f9fa !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-weekday {
    color: #7B47B6 !important;
    font-weight: bold !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-days {
    padding: 10px !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-day {
    border-radius: 8px !important;
    margin: 2px !important;
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #333 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-day:hover {
    background: #E8F4FD !important;
    border-color: #7B47B6 !important;
    color: #7B47B6 !important;
    transform: scale(1.05) !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-day.selected,
.flatpickr-calendar.reservations-datepicker .flatpickr-day.selected:hover {
    background: linear-gradient(135deg, #7B47B6 0%, #9B59B6 100%) !important;
    border-color: #7B47B6 !important;
    color: white !important;
    font-weight: bold !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(123, 71, 182, 0.3) !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-day.today {
    border-color: #E85A72 !important;
    color: #E85A72 !important;
    font-weight: bold !important;
    background: rgba(232, 90, 114, 0.1) !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-day.today:hover {
    background: #E85A72 !important;
    color: white !important;
    border-color: #E85A72 !important;
    transform: scale(1.05) !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-day.today.selected {
    background: linear-gradient(135deg, #E85A72 0%, #D64A62 100%) !important;
    border-color: #E85A72 !important;
    color: white !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-day.disabled {
    color: #ccc !important;
    cursor: not-allowed !important;
    background: #f5f5f5 !important;
    opacity: 0.5 !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-day.disabled:hover {
    background: #f5f5f5 !important;
    transform: none !important;
    border-color: transparent !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-day.nextMonthDay,
.flatpickr-calendar.reservations-datepicker .flatpickr-day.prevMonthDay {
    color: #ccc !important;
    opacity: 0.5 !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-day.nextMonthDay:hover,
.flatpickr-calendar.reservations-datepicker .flatpickr-day.prevMonthDay:hover {
    background: #f0f0f0 !important;
    color: #999 !important;
}

.flatpickr-calendar.reservations-datepicker .flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-calendar.reservations-datepicker .flatpickr-months .flatpickr-next-month:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.1) !important;
}

@media (max-width: 768px) {
    .flatpickr-calendar.reservations-datepicker {
        width: 100% !important;
        max-width: 300px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 10px !important;
    }
    
    .flatpickr-calendar.reservations-datepicker .flatpickr-months {
        padding: 15px 10px !important;
    }
    
    .flatpickr-calendar.reservations-datepicker .flatpickr-day {
        width: 35px !important;
        height: 35px !important;
        line-height: 35px !important;
        font-size: 13px !important;
        margin: 1px !important;
    }
} 