* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Succot Warm Palette */
    --gold-primary: #D4AF37;
    --gold-light: #F4D03F;
    --olive-green: #556B2F;
    --olive-light: #6B8E23;
    --terracotta: #E07A5F;
    --terracotta-light: #F4A261;
    --cream: #FAF3E0;
    --brown-dark: #3E2723;
    --success: #2ECC71;
    --warning: #F39C12;
    --error: #E74C3C;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--olive-green) 0%, var(--brown-dark) 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    margin-bottom: 40px;
    padding: 20px;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

main {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Instructions Section */
.instructions-container {
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, var(--cream) 0%, #FFF8DC 100%);
    border-radius: 15px;
    border: 2px solid var(--gold-primary);
}

.instructions-container h2 {
    color: var(--olive-green);
    margin-bottom: 25px;
    font-size: 1.8em;
    text-align: center;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.instruction-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.instruction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.15);
}

.instruction-number {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--terracotta) 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.instruction-card h3 {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 12px;
}

.instruction-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.instruction-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.instruction-card ul li {
    padding: 5px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.instruction-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--olive-green);
    font-weight: bold;
}

.instructions-note {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid var(--gold-primary);
    color: #333;
    line-height: 1.6;
}

.instructions-note strong {
    color: var(--olive-green);
}

.booking-form-container {
    margin-bottom: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.booking-form-container h2 {
    color: var(--olive-green);
    margin-bottom: 25px;
    font-size: 1.8em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--terracotta) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

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

.availability-container {
    margin-bottom: 50px;
}

.availability-container h2 {
    color: var(--olive-green);
    margin-bottom: 25px;
    font-size: 1.8em;
}

.turnos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.turno-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.turno-card:hover {
    transform: translateY(-5px);
}

.turno-card h3 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.horario {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.disponibilidad {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.mesas-disponibles {
    font-weight: bold;
    color: #28a745;
    font-size: 1.4em;
}

.mesas-total {
    color: #666;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success) 0%, var(--olive-light) 100%);
    transition: width 0.5s ease;
}

.reservations-container h2 {
    color: var(--olive-green);
    margin-bottom: 25px;
    font-size: 1.8em;
}

.reservations-list {
    display: grid;
    gap: 15px;
}

.reservation-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--gold-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.reservation-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.reservation-info {
    flex: 1;
}

.reservation-info strong {
    color: var(--olive-green);
}

.btn-delete {
    background: var(--error);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-delete:hover {
    background: #C0392B;
    transform: scale(1.05);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: var(--success);
}

.notification.error {
    background: var(--error);
}

.notification.warning {
    background: var(--warning);
    color: #333;
}

footer {
    text-align: center;
    color: white;
    margin-top: 40px;
    padding: 20px;
    font-size: 1.1em;
}

/* Admin Styles */
.btn-admin {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s;
}

.btn-admin:hover {
    background: white;
    color: var(--olive-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.dates-info {
    font-size: 1.1em;
    margin-top: 10px;
    opacity: 0.95;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    color: var(--olive-green);
    margin-bottom: 25px;
    text-align: center;
}

.btn-cancel {
    width: 100%;
    padding: 15px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-cancel:hover {
    background: #5a6268;
}

/* Admin Panel */
.admin-panel {
    max-width: 1400px;
    margin: 40px auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.admin-header h2 {
    color: var(--olive-green);
    font-size: 2em;
}

.btn-logout {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-logout:hover {
    background: #c82333;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--terracotta) 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.stat-card h3 {
    font-size: 1em;
    margin-bottom: 10px;
    opacity: 0.9;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    margin: 0;
}

.admin-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-export {
    flex: 1;
    padding: 15px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-export:hover {
    background: #218838;
}

.btn-danger {
    flex: 1;
    padding: 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-danger:hover {
    background: #c82333;
}

.admin-table {
    margin-top: 30px;
}

.admin-table h3 {
    color: var(--olive-green);
    margin-bottom: 20px;
    font-size: 1.5em;
}

#adminReservationsList {
    max-height: 600px;
    overflow-y: auto;
}

.admin-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.admin-filters .form-group {
    margin-bottom: 0;
}

/* Confirmation Box */
.confirmation-box {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, var(--success) 0%, var(--olive-light) 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.confirmation-content h3 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.confirmation-details {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.confirmation-details p {
    margin: 10px 0;
    font-size: 1.1em;
}

.confirmation-code {
    text-align: center;
    font-size: 1.3em;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.confirmation-code strong {
    font-size: 1.5em;
    letter-spacing: 2px;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
}

.btn-add-cart {
    padding: 15px;
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 152, 0, 0.4);
}

/* Saved Profile */
.saved-profile {
    margin-top: 15px;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.saved-profile p {
    margin: 0;
    color: #1976d2;
}

.btn-link {
    background: none;
    border: none;
    color: #1976d2;
    text-decoration: underline;
    cursor: pointer;
    font-size: 1em;
    padding: 0;
    margin-left: 10px;
}

.btn-link:hover {
    color: #0d47a1;
}

/* Cart Section */
.cart-section {
    margin-top: 30px;
    padding: 25px;
    background: #fff3e0;
    border-radius: 15px;
    border: 2px solid #ff9800;
}

.cart-section h3 {
    color: #e65100;
    margin-bottom: 20px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #ff9800;
}

.cart-item-info {
    flex: 1;
}

.btn-remove-cart {
    background: #f44336;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-remove-cart:hover {
    background: #d32f2f;
}

.cart-actions {
    display: flex;
    gap: 15px;
}

.btn-confirm-all {
    flex: 1;
    padding: 15px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-confirm-all:hover {
    transform: translateY(-2px);
}

.btn-clear-cart {
    padding: 15px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
}

.btn-clear-cart:hover {
    background: #5a6268;
}

/* My Reservations */
.my-reservations-container {
    margin-bottom: 50px;
}

.my-reservations-container h2 {
    color: var(--olive-green);
    margin-bottom: 25px;
    font-size: 1.8em;
}

.search-my-reservations {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.search-my-reservations input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
}

.search-my-reservations input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.btn-search {
    padding: 12px 24px;
    background: var(--gold-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-search:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* ===== RIPPLE EFFECT ===== */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* ===== VALIDACIÓN VISUAL ===== */
.form-group input.valid,
.form-group select.valid {
    border-color: var(--success);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232ECC71"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-group input.invalid,
.form-group select.invalid {
    border-color: var(--error);
}

/* ===== LOADING SPINNER ===== */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* ===== CONFETTI EFFECT ===== */
@keyframes confetti-fall {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--gold-primary);
    z-index: 9999;
    animation: confetti-fall 3s linear forwards;
}

/* ===== SKELETON LOADER ===== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 16px;
    margin: 8px 0;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin: 12px 0;
}

/* ===== TOAST MEJORADA ===== */
.notification {
    bottom: 20px;
    top: auto;
    right: 20px;
    transform: translateY(200px);
    min-width: 300px;
    max-width: 500px;
}

.notification.show {
    transform: translateY(0);
}

/* ===== BOUNCE ANIMATION ===== */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.bounce {
    animation: bounce 1s;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1em;
    }

    .dates-info {
        font-size: 1em;
    }

    .btn-admin {
        width: 100%;
        max-width: 300px;
        padding: 15px 30px;
        font-size: 1.1em;
    }

    main {
        padding: 20px;
    }

    .booking-form-container {
        padding: 20px;
    }

    .booking-form-container h2 {
        font-size: 1.5em;
    }

    .form-group input,
    .form-group select {
        padding: 16px;
        font-size: 16px;
    }

    .btn-submit,
    .btn-add-selection {
        padding: 18px;
        font-size: 1.1em;
        min-height: 56px;
        touch-action: manipulation;
    }

    /* Botones táctiles de 48px mínimo */
    button, .btn-delete, .btn-search, .btn-logout, .btn-admin {
        min-height: 48px;
        touch-action: manipulation;
    }

    /* Inputs táctiles */
    .form-group input,
    .form-group select {
        min-height: 48px;
        font-size: 16px; /* Prevenir zoom en iOS */
    }

    .turnos-grid {
        grid-template-columns: 1fr;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-actions {
        flex-direction: column;
    }

    .admin-header {
        flex-direction: column;
        gap: 15px;
    }

    .instructions-grid {
        grid-template-columns: 1fr;
    }

    .instructions-container {
        padding: 20px;
    }

    .cart-actions {
        flex-direction: column;
    }

    .search-my-reservations {
        flex-direction: column;
    }
}
/* ===== CALENDARIO DE DISPONIBILIDAD ===== */
.availability-calendar {
    padding: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.date-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.date-header {
    text-align: center;
    color: var(--olive-green);
    font-size: 1.2em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold-primary);
}

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.time-slot {
    background: white;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.time-slot:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.time-slot.available {
    border-color: var(--success);
}

.time-slot.almost-full {
    border-color: var(--warning);
    background: #FFF8DC;
}

.time-slot.full {
    border-color: var(--error);
    background: #FFE4E1;
    opacity: 0.7;
    cursor: not-allowed;
}

.time-slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.time-label {
    font-weight: 600;
    color: #333;
    font-size: 1.05em;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.status-badge.available {
    background: #d4edda;
    color: #155724;
}

.status-badge.almost-full {
    background: #fff3cd;
    color: #856404;
}

.status-badge.full {
    background: #f8d7da;
    color: #721c24;
}

.availability-bar {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.availability-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success) 0%, var(--olive-light) 100%);
    transition: width 0.5s ease;
}

.time-slot.almost-full .availability-fill {
    background: linear-gradient(90deg, var(--warning) 0%, var(--terracotta-light) 100%);
}

.time-slot.full .availability-fill {
    background: linear-gradient(90deg, var(--error) 0%, #C0392B 100%);
}

/* ===== INDICADOR DE DISPONIBILIDAD ===== */
.availability-indicator {
    margin-top: 10px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    animation: fadeIn 0.3s;
}

.status-success {
    color: #155724;
    background: #d4edda;
    padding: 8px 15px;
    border-radius: 6px;
    display: inline-block;
}

.status-warning {
    color: #856404;
    background: #fff3cd;
    padding: 8px 15px;
    border-radius: 6px;
    display: inline-block;
}

.status-error {
    color: #721c24;
    background: #f8d7da;
    padding: 8px 15px;
    border-radius: 6px;
    display: inline-block;
}

/* ===== PANEL DE SELECCIÓN MÚLTIPLE ===== */
.multiple-reservations-panel {
    margin-top: 30px;
    background: linear-gradient(135deg, var(--cream) 0%, #FFF8DC 100%);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--gold-primary);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gold-primary);
}

.panel-header h3 {
    color: var(--olive-green);
    margin: 0;
    font-size: 1.5em;
}

.selection-badge {
    background: var(--gold-primary);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2em;
    min-width: 40px;
    text-align: center;
}

.selected-reservations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.panel-actions {
    display: flex;
    gap: 15px;
}

.btn-confirm-multiple {
    flex: 1;
    padding: 16px;
    background: linear-gradient(135deg, var(--success) 0%, var(--olive-light) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-confirm-multiple:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(46, 204, 113, 0.4);
}

.btn-clear-selection {
    padding: 16px 24px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-clear-selection:hover {
    background: #5a6268;
}

/* ===== BOTONES MEJORADOS ===== */
.btn-add-selection {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--terracotta) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-add-selection:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.cart-item {
    animation: slideInRight 0.3s ease-out;
}

.selection-badge {
    animation: pulse 0.5s ease-in-out;
}

.btn-copy-codes {
    margin-top: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--terracotta) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-copy-codes:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.selection-summary {
    background: rgba(212, 175, 55, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
    border: 2px solid var(--gold-primary);
}

.selection-summary p {
    margin: 5px 0;
    color: var(--olive-green);
    font-size: 1.05em;
}

.selection-summary strong {
    color: #333;
}

/* ===== BOTÓN TOGGLE CALENDARIO ===== */
.availability-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-toggle-calendar {
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--terracotta) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    flex: 1;
    min-width: 250px;
}

.btn-toggle-calendar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.btn-toggle-calendar:active {
    transform: translateY(0);
}

/* ===== RESPONSIVE MEJORADO ===== */
@media (max-width: 768px) {
    .calendar-grid {
        grid-template-columns: 1fr;
    }

    .panel-actions {
        flex-direction: column;
    }

    .date-section {
        padding: 15px;
    }

    .availability-header-mobile {
        flex-direction: column;
        align-items: stretch;
    }

    .availability-header-mobile h2 {
        text-align: center;
    }

    .btn-toggle-calendar {
        width: 100%;
        min-width: auto;
        font-size: 1em;
        padding: 18px 20px;
    }
}
