/* MODAL SYSTEM - CSS CORREGIDO SIN DUPLICACIONES */

/* =================================
   MODALES DE INFORMACIÓN GENERAL
   ================================= */

.info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 15000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.info-modal-overlay.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.info-modal {
    background: white;
    border-radius: 15px;
    max-width: 90vw;
    width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 15001;
}

.info-modal-overlay.active .info-modal {
    transform: scale(1);
}

.info-modal-header {
    background: linear-gradient(135deg, #f4a261, #e76f51);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px 15px 0 0;
}

.info-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.modal-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.info-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
    line-height: 1;
}

.info-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.info-modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
}

/* Estilos para imágenes dentro del modal */
.info-modal-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    transition: all 0.3s ease;
}

/* Estilos para zoom de imagen */
.info-modal.image-zoomed {
    max-width: 98vw;
    max-height: 98vh;
    width: auto;
}

.info-modal-body img.zoomed {
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    cursor: zoom-out;
    max-width: 95vw;
    max-height: 80vh;
    object-fit: contain;
}

/* =================================
   MODALES DE ACTIVIDADES DEL PROGRAMA
   ================================= */

.activity-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-modal-overlay.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.activity-modal {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    transform: scale(0.7) translateY(50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-modal-overlay.active .activity-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Línea de conexión animada */
.connection-line {
    position: fixed;
    background: linear-gradient(45deg, #3498db, #e74c3c);
    height: 3px;
    z-index: 9999;
    opacity: 0;
    transform-origin: left center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.connection-line.active {
    opacity: 1;
    animation: connectionPulse 2s ease-in-out infinite;
}

@keyframes connectionPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(52, 152, 219, 0.5); }
    50% { box-shadow: 0 0 20px rgba(52, 152, 219, 0.8), 0 0 30px rgba(231, 76, 60, 0.3); }
}

/* Header del modal de actividades */
.modal-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 25px 30px;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.modal-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 500;
}

.modal-meta-icon {
    font-size: 0.8rem;
}

/* Cuerpo del modal de actividades */
.modal-body {
    padding: 30px;
    max-height: 50vh;
    overflow-y: auto;
    background: #fafafa;
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.modal-section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #3498db, #e74c3c);
    border-radius: 2px;
}

.modal-section-content {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.modal-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.modal-tag {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* =================================
   BOTONES DE ACCIONES DEL MODAL
   ================================= */

.modal-actions {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 1;
}

.modal-action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: white;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-action-btn.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.modal-action-btn .btn-icon {
    font-size: 0.9rem;
}

.modal-action-btn .btn-text {
    font-size: 0.75rem;
    font-weight: 600;
}

/* =================================
   INDICADORES EN LAS CELDAS
   ================================= */

.favorite-indicator,
.notes-indicator {
    position: absolute;
    top: 2px;
    left: 2px;
    font-size: 0.7rem;
    z-index: 10;
    animation: indicatorBounce 2s ease-in-out infinite;
    pointer-events: none;
}

.notes-indicator {
    left: 16px; /* Para no superponer con favoritos */
}

@keyframes indicatorBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* =================================
   MODAL DE NOTAS
   ================================= */

.notes-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notes-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.notes-modal {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notes-modal-overlay.active .notes-modal {
    transform: scale(1) translateY(0);
}

.notes-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.notes-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="notesgrid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23notesgrid)"/></svg>');
    opacity: 0.3;
}

.notes-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.notes-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.notes-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.notes-body {
    padding: 25px;
}

.notes-textarea {
    width: 100%;
    height: 200px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    transition: all 0.3s ease;
    background: #fafafa;
}

.notes-textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.notes-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.char-counter {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.notes-actions {
    display: flex;
    gap: 10px;
}

.notes-clear,
.notes-save {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notes-clear {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
}

.notes-clear:hover {
    background: #e9ecef;
    color: #495057;
}

.notes-save {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.notes-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* =================================
   MODAL DE COMPARTIR
   ================================= */

.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.share-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.share-modal {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.share-modal-overlay.active .share-modal {
    transform: scale(1);
}

.share-modal h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.2rem;
    text-align: center;
}

.share-text {
    width: 100%;
    height: 120px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    line-height: 1.4;
    resize: none;
    background: #f8f9fa;
    margin-bottom: 15px;
}

.share-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.copy-btn,
.close-share {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.close-share {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
}

.close-share:hover {
    background: #e9ecef;
}

/* =================================
   SECCIÓN DE NOTA EN EL MODAL PRINCIPAL
   ================================= */

.modal-note-section {
    background: linear-gradient(135deg, #fff3e0, #ffe0b3);
    border-radius: 12px;
    border-left: 4px solid #ff9800;
    margin-top: 20px;
    padding: 20px !important;
}

.modal-note-section .modal-section-title {
    color: #e65100;
    margin-bottom: 15px;
}

.modal-user-note {
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 8px;
    font-style: italic;
    color: #5d4037;
    border-left: 3px solid #ff9800;
    line-height: 1.5;
    white-space: pre-wrap;
}

/* =================================
   NOTIFICACIONES
   ================================= */

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10002;
    transform: translateX(350px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

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

.notification-success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.notification-info {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.notification-error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* =================================
   EFECTOS ESPECIALES
   ================================= */

/* Efectos para celdas activas */
.activity-cell.modal-active {
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
    color: white !important;
    transform: scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4) !important;
    z-index: 999 !important;
    position: relative !important;
}

.activity-cell.modal-active .activity-content {
    color: white !important;
    font-weight: 700 !important;
}

/* Animación de entrada para el contenido */
.modal-body > * {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
}

.modal-body > *:nth-child(1) { animation-delay: 0.1s; }
.modal-body > *:nth-child(2) { animation-delay: 0.2s; }
.modal-body > *:nth-child(3) { animation-delay: 0.3s; }
.modal-body > *:nth-child(4) { animation-delay: 0.4s; }

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

/* Efectos hover mejorados para celdas */
.activity-cell:not(.empty-cell):not(.receso-cell):hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(52, 152, 219, 0.1) 0%,
        rgba(231, 76, 60, 0.1) 100%);
    border-radius: 4px;
    z-index: 1;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.02);
    }
}

/* Scrollbar personalizada */
.modal-body::-webkit-scrollbar,
.info-modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track,
.info-modal-body::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f1f1f1 0%, #e9e9e9 100%);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb,
.info-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

.modal-body::-webkit-scrollbar-thumb:hover,
.info-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2980b9 0%, #1f618d 100%);
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */

@media (max-width: 768px) {
    .info-modal {
        width: 95%;
        max-height: 90vh;
        margin: 20px;
    }
    
    .info-modal-header {
        padding: 1rem;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .modal-header-actions {
        order: -1;
        width: 100%;
        justify-content: center;
    }
    
    .info-modal-title {
        font-size: 1.2rem;
    }
    
    .info-modal-body {
        padding: 1.5rem;
    }
    
    .activity-modal {
        width: 95%;
        max-height: 85vh;
        border-radius: 15px;
    }

    .modal-header {
        padding: 20px 25px;
    }

    .modal-title {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }

    .modal-meta {
        gap: 15px;
        font-size: 0.85rem;
    }

    .modal-body {
        padding: 25px;
        max-height: 55vh;
    }

    .modal-section-title {
        font-size: 1rem;
    }

    .modal-section-content {
        font-size: 0.9rem;
    }

    .connection-line {
        display: none; /* Ocultar línea en móviles por rendimiento */
    }
    
    .modal-actions {
        position: static;
        margin-top: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .modal-action-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .modal-action-btn .btn-text {
        display: none; /* Solo mostrar íconos en móvil */
    }
    
    .notes-modal {
        width: 95%;
        margin: 10px;
    }
    
    .notes-header {
        padding: 15px 20px;
    }
    
    .notes-header h3 {
        font-size: 1.1rem;
    }
    
    .notes-body {
        padding: 20px;
    }
    
    .notes-textarea {
        height: 150px;
        padding: 12px;
        font-size: 0.85rem;
    }
    
    .notes-tools {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .notes-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .favorite-indicator,
    .notes-indicator {
        font-size: 0.6rem;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        text-align: center;
        transform: translateY(-100px);
        font-size: 0.85rem;
        padding: 10px 15px;
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .info-modal {
        width: 98%;
        margin: 10px;
    }
    
    .info-modal-header {
        padding: 15px;
    }
    
    .info-modal-body {
        padding: 15px;
    }
    
    .activity-modal {
        width: 98%;
        margin: 10px;
    }

    .modal-header {
        padding: 18px 20px;
    }

    .modal-title {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 20px;
    }
    
    .modal-actions {
        gap: 5px;
    }
    
    .modal-action-btn {
        padding: 5px 8px;
        min-width: 35px;
        justify-content: center;
    }
    
    .modal-action-btn .btn-icon {
        font-size: 0.8rem;
    }
    
    .share-modal {
        width: 95%;
        padding: 20px;
    }
    
    .share-text {
        height: 100px;
        font-size: 0.8rem;
    }
    
    .char-counter {
        font-size: 0.75rem;
    }
}

/* =================================
   EFECTOS ADICIONALES
   ================================= */

.modal-action-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.favorite-btn.active .btn-icon {
    animation: heartBeat 1s ease-in-out;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

.notes-btn.active {
    animation: writingPulse 2s ease-in-out infinite;
}

@keyframes writingPulse {
    0%, 100% { background: rgba(255, 255, 255, 0.2); }
    50% { background: rgba(255, 193, 7, 0.3); }
}


/* ====== Ajustes tipográficos solicitados ====== */

/* Título del modal 2–3 puntos más pequeño y en MAYÚSCULAS */
.modal-title {
  font-size: 1.2rem !important;  /* antes ~1.5rem */
  text-transform: uppercase !important;
  letter-spacing: .02em;
}

/* Bloques de info con la jerarquía pedida */
.modal-body {
  font-size: 0.95rem;
}

.modal-section-title {
  font-size: 1rem !important;
}

/* Listas dentro del modal: 1 por renglón, aireado */
.modal-section-content ul {
  margin: 0 0 8px 0;
  padding-left: 0;
  list-style: none;
}
.modal-section-content ul li + li { margin-top: 4px; }

/* === INFO MODALS "clean" (auto-appended) === */
.info-modal-header{display:none!important}

.info-modal{border-radius:14px;max-width:min(96vw,1200px);width:auto;max-height:94vh}

.info-modal-body{padding:0!important;max-height:none!important}

.info-modal-body img{display:block;width:100%;height:auto;max-height:calc(100vh - 90px);object-fit:contain;border-radius:0;box-shadow:none;cursor:default}

.info-modal-body iframe{display:block;width:100%!important;height:clamp(60vh,82vh,90vh)!important;border:0}


/* Footer con botón Cerrar */
.info-modal-footer {
  padding: 20px 0 30px;   /* más espacio arriba y sobre todo abajo */
  display: flex;
  justify-content: center;
  background: transparent; /* sin bloque extra de color */
  border-top: none;
}

/* Botón Cerrar elegante */
.info-modal-footer .btn-close-simple {
  background: linear-gradient(135deg, #f8f8f8, #e6e6e6);
  border: 1px solid #ccc;
  border-radius: 30px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
  transition: all 0.25s ease-in-out;
}

/* Efecto hover */
.info-modal-footer .btn-close-simple:hover {
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.18);
}


/* Modal específico para Desayunos */
.desayunos-modal {
  max-width: 900px !important;
  width: 90% !important;
}

.desayunos-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0;
}

.desayuno-tab {
  background: transparent;
  border: none;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.desayuno-tab:hover {
  color: #495057;
  background: rgba(244, 162, 97, 0.05);
}

.desayuno-tab.active {
  color: #f4a261;
  border-bottom-color: #f4a261;
}

.desayunos-content {
  position: relative;
  min-height: 400px;
}

.desayuno-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.desayuno-panel.active {
  display: block;
}

.desayuno-panel img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

/* Responsive */
@media (max-width: 768px) {
  .desayunos-modal {
    width: 95% !important;
  }
  
  .desayunos-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .desayuno-tab {
    width: 100%;
    text-align: left;
    padding: 10px 20px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  
  .desayuno-tab.active {
    border-left-color: #f4a261;
    background: rgba(244, 162, 97, 0.1);
  }
}





