/* ============================================================================
   CRM del PAQUETE — hoja de estilo global del CRM (ficha, editor, galería…).

   OJO — POR QUÉ ESTÁ EN UN ARCHIVO Y NO DENTRO DE LA PLANTILLA:
   antes este CSS vivía dentro del <turbo-frame id="profile-container"> de
   showPaqueteDestinoCrm.html.twig. Turbo reemplaza el frame COMPLETO al
   navegar dentro de él (Edit, galería, traducciones…), así que el <style>
   inline se iba con el contenido: las pantallas siguientes se quedaban SIN
   estilo ("se perdió el estilo") y el editor tenía que meter el base.html
   del admin a mano para disimularlo (lo que rompía el Turbo).

   Con el CSS en el <head> (base.html.twig) el estilo sobrevive a cualquier
   navegación Turbo dentro del frame.

   Paleta: indigo #667eea -> #764ba2, texto #2c3e50, fondo #f8f9fa.
   ========================================================================== */

.paquete-detalle-container {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 2rem;
}

.paquete-detalle-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    animation: fadeInUp 0.5s ease;
}

.paquete-detalle-header {
    background: white;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.paquete-detalle-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #2c3e50;
}

.paquete-detalle-header h2 i {
    color: #667eea;
}

/* Subtítulo de la cabecera (nombre del paquete, código, etc.) */
.paquete-detalle-subtitulo {
    font-size: 0.85rem;
    font-weight: 400;
    color: #6c757d;
    margin-left: 0.25rem;
}

.paquete-body {
    padding: 2rem;
}

/* Botones de acción */
.action-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.btn-action-modern {
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-action-modern:hover {
    transform: translateY(-2px);
}

.btn-back {
    background: #6c757d;
    color: white;
}

.btn-back:hover {
    background: #5a6268;
    color: white;
}

.btn-edit {
    background: #ffc107;
    color: #212529;
}

.btn-edit:hover {
    background: #e0a800;
    color: #212529;
}

.btn-departure {
    background: #17a2b8;
    color: white;
}

.btn-departure:hover {
    background: #138496;
    color: white;
}

.btn-includes {
    background: #28a745;
    color: white;
}

.btn-includes:hover {
    background: #218838;
    color: white;
}

.btn-pricing {
    background: #17a2b8;
    color: white;
}

.btn-image {
    background: #6c757d;
    color: white;
}

.btn-translations {
    background: #6f42c1;
    color: white;
}

.btn-translations:hover {
    background: #5a32a3;
    color: white;
}

/* Información de la paquete */
.info-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-label {
    font-weight: 600;
    color: #495057;
    min-width: 100px;
}

.info-value {
    color: #2c3e50;
}

.info-value a {
    color: #667eea;
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

.paquete-image {
    margin-bottom: 1.5rem;
    text-align: center;
}

.paquete-image img {
    max-width: 150px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.active-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.active-yes {
    background: #d4edda;
    color: #155724;
}

.active-no {
    background: #f8d7da;
    color: #721c24;
}

/* Tabla de itinerarios */
.itinerarios-section {
    margin: 2rem 0;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
}

.section-title i {
    color: #667eea;
}

.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.table-modern thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.table-modern thead th {
    color: white;
    padding: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
}

.table-modern tbody tr {
    transition: all 0.2s ease;
}

.table-modern tbody tr:hover {
    background: #f8f9fa;
}

.table-modern tbody td {
    padding: 1rem;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.btn-itinerario {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    margin: 0 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s ease;
}

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

.btn-show {
    background: #17a2b8;
    color: white;
}

.btn-show:hover {
    background: #138496;
    color: white;
}

.btn-edit-itinerario {
    background: #ffc107;
    color: #212529;
}

.btn-edit-itinerario:hover {
    background: #e0a800;
    color: #212529;
}

/* Secciones incluídas */
.includes-section, .presentation-section {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    color: #6c757d;
}

.empty-state i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #dee2e6;
}

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

/* Responsive */
@media (max-width: 768px) {
    .paquete-detalle-container {
        padding: 1rem;
    }

    .paquete-detalle-header {
        padding: 1rem;
    }

    .paquete-detalle-header h2 {
        font-size: 1.2rem;
    }

    .paquete-body {
        padding: 1rem;
    }

    .action-buttons-grid {
        gap: 0.5rem;
    }

    .btn-action-modern {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

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

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .info-label {
        min-width: auto;
    }

    .table-modern {
        font-size: 0.8rem;
    }

    .table-modern thead th,
    .table-modern tbody td {
        padding: 0.5rem;
    }

    .btn-itinerario {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}


/* ============================================================================
   TRADUCCIONES DEL PAQUETE
   (extraído del <style> inline del frame: si se queda dentro del
   turbo-frame, Turbo se lo lleva al reemplazar el frame y la pantalla se
   queda sin estilo)
   ========================================================================== */

.trad-container { background: #f8f9fa; min-height: 100vh; padding: 2rem; }
.trad-card { background: white; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); overflow: hidden; animation: fadeInUp 0.5s ease; }
.trad-header { background: white; padding: 1.5rem 2rem; border-bottom: 2px solid #f0f0f0; }
.trad-header h2 { margin: 0; font-size: 1.5rem; font-weight: 600; display: flex; align-items: center; gap: 0.75rem; color: #2c3e50; }
.trad-header h2 i { color: #667eea; }
.trad-body { padding: 2rem; }

.action-buttons-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid #f0f0f0; }
.btn-action-modern { padding: 0.6rem 1.2rem; border-radius: 10px; text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-action-modern:hover { transform: translateY(-2px); }
.btn-back { background: #6c757d; color: white; }
.btn-back:hover { background: #5a6268; color: white; }

/* Pestañas */
.tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; border-bottom: 2px solid #f0f0f0; flex-wrap: wrap; }
.tab { padding: 0.6rem 1.2rem; border-radius: 10px 10px 0 0; text-decoration: none; font-size: 0.9rem; font-weight: 500; color: #6c757d; background: #f1f3f5; display: inline-flex; align-items: center; gap: 0.4rem; }
.tab:hover { background: #e2e6ea; color: #495057; }
.tab.activa { background: #667eea; color: white; }
.tab.activa:hover { background: #5a6fd6; color: white; }
.tab .conteo { background: rgba(255,255,255,0.25); border-radius: 50px; padding: 0.1rem 0.5rem; font-size: 0.75rem; font-weight: 700; }
.tab:not(.activa) .conteo { background: #dee2e6; color: #495057; }

.referencia { background: #f8f9fa; border-radius: 15px; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.referencia .etiqueta { font-weight: 600; color: #495057; font-size: 0.85rem; margin-bottom: 0.35rem; }
.referencia .valor { color: #2c3e50; font-size: 1.1rem; font-weight: 600; }

.tabla-bloque { margin-bottom: 2.5rem; }
.tabla-bloque h3 { font-size: 1.1rem; font-weight: 600; color: #2c3e50; margin: 0 0 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.tabla-bloque h3 i { color: #667eea; }

.table-modern { width: 100%; border-collapse: separate; border-spacing: 0; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.table-modern thead { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.table-modern thead th { color: white; padding: 0.9rem 1rem; font-weight: 600; text-align: center; border: none; }
.table-modern tbody tr { transition: all 0.2s ease; }
.table-modern tbody tr:hover { background: #f8f9fa; }
.table-modern tbody td { padding: 0.9rem 1rem; text-align: center; vertical-align: middle; border-bottom: 1px solid #e9ecef; }
.table-modern tbody td.left { text-align: left; }
.table-modern tbody td.rtl { direction: rtl; }

.idioma-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.8rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; background: #e9ecef; color: #495057; }
.idioma-codigo { font-weight: 700; color: #667eea; }

.estado-ok { color: #28a745; }
.estado-falta { color: #adb5bd; }
.estado-sin-cambio { color: #868e96; font-size: 0.75rem; margin-left: 0.4rem; white-space: nowrap; }

.btn-itinerario { padding: 0.4rem 0.8rem; border-radius: 8px; text-decoration: none; font-size: 0.8rem; margin: 0 0.2rem; display: inline-flex; align-items: center; gap: 0.3rem; transition: all 0.2s ease; }
.btn-itinerario:hover { transform: translateY(-2px); }
.btn-edit { background: #ffc107; color: #212529; }
.btn-edit:hover { background: #e0a800; color: #212529; }
.btn-new { background: #28a745; color: white; }
.btn-new:hover { background: #218838; color: white; }

.ent-name { font-weight: 600; color: #2c3e50; }
.ent-sub { font-size: 0.75rem; color: #6c757d; }

.resumen-texto { font-size: 0.85rem; color: #495057; max-width: 420px; }

.empty-state { text-align: center; padding: 2rem; background: #f8f9fa; border-radius: 12px; color: #6c757d; }

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

@media (max-width: 768px) {
    .trad-container { padding: 1rem; }
    .trad-header { padding: 1rem; }
    .trad-header h2 { font-size: 1.2rem; }
    .trad-body { padding: 1rem; }
    .action-buttons-grid { gap: 0.5rem; }
    .btn-action-modern { padding: 0.5rem 1rem; font-size: 0.75rem; }
    .table-modern { font-size: 0.8rem; }
    .table-modern thead th, .table-modern tbody td { padding: 0.5rem; }
    .btn-itinerario { padding: 0.3rem 0.6rem; font-size: 0.7rem; }
    .resumen-texto { max-width: 200px; }
}


/* ============================================================================
   LISTA DE PAQUETES DEL DESTINO (CRM)
   (extraído del <style> inline del frame: si se queda dentro del
   turbo-frame, Turbo se lo lleva al reemplazar el frame y la pantalla se
   queda sin estilo)
   ========================================================================== */

.paquetes-modern-container { background: #f8f9fa; min-height: 100vh; padding: 2rem; }

.paquetes-modern-card { background: white; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); overflow: hidden; }

.paquetes-header { background: white; color: #2c3e50; padding: 1.5rem 2rem; position: relative; border-bottom: 2px solid #f0f0f0; }

.paquetes-header h3 { margin: 0; font-size: 1.8rem; font-weight: 600; display: flex; align-items: center; gap: 0.75rem; color: #2c3e50; }

.paquetes-header h3 i { color: #667eea; font-size: 1.8rem; }

.paquetes-stats { position: absolute; top: 1.5rem; right: 2rem; background: #667eea; color: white; padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.9rem; }

.paquetes-body { padding: 2rem; }

/* Botones compactos - SIN MOVIMIENTO */
.btn-modern-back {
    background: #6c757d;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn-modern-back:hover {
    background: #5a6268;
    color: white;
}

.btn-new-modern {
    background: #667eea;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-new-modern:hover {
    background: #5a67d8;
    color: white;
}

/* Formulario de búsqueda */
.search-form-modern {
    margin-bottom: 1.5rem;
}

.search-wrapper {
    position: relative;
    max-width: 500px;
}

.search-input-modern {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: white;
}

.search-input-modern:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102,126,234,0.25);
    outline: none;
}

.search-button-modern {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.search-button-modern:hover {
    background: #5a67d8;
}

/* Grid de tarjetas - COMPACTO - 4 o 6 por fila */
.paquetes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Para pantallas grandes: 4 columnas */
@media (min-width: 1400px) {
    .paquetes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Para pantallas extra grandes: 6 columnas */
@media (min-width: 1800px) {
    .paquetes-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Para tablets: 2-3 columnas */
@media (min-width: 768px) and (max-width: 1399px) {
    .paquetes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Para móviles: 1 columna */
@media (max-width: 767px) {
    .paquetes-grid {
        grid-template-columns: 1fr;
    }
}

.paquete-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-order {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #667eea;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* IMAGEN MÁS PEQUEÑA */
.card-image {
    height: 160px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    overflow: hidden;
    flex-shrink: 0;
}

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

.card-image .no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image .no-image i {
    font-size: 3.5rem;
    color: rgba(255,255,255,0.9);
}

.card-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* TEXTO SIN CORTAR - QUE SE AJUSTE AUTOMÁTICAMENTE */
.paquete-nombre {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    /* Eliminado white-space: nowrap y text-overflow */
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.paquete-dias {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #667eea;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.paquete-dias i {
    font-size: 0.9rem;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.btn-show-modern {
    flex: 1;
    padding: 0.6rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #667eea;
    color: white;
}

.btn-show-modern:hover {
    background: #5a67d8;
    color: white;
}

/* Paginación compacta - SIN MOVIMIENTO */
.pagination-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.pagination-modern .page-item {
    list-style: none;
}

.pagination-modern .page-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: white;
    color: #667eea;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.pagination-modern .page-link:hover {
    background: #667eea;
    color: white;
}

.pagination-modern .active .page-link {
    background: #667eea;
    color: white;
    border: none;
}

.pagination-modern .disabled .page-link {
    color: #dee2e6;
    pointer-events: none;
}

/* Empty State */
.empty-state-modern {
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 15px;
    margin: 2rem 0;
}

.empty-state-modern i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-state-modern h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.empty-state-modern p {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .paquetes-modern-container { padding: 1rem; }
    
    .paquetes-header {
        padding: 1rem;
        text-align: center;
    }
    
    .paquetes-header h3 {
        font-size: 1.5rem;
        justify-content: center;
    }
    
    .paquetes-stats {
        position: static;
        display: inline-block;
        margin-top: 0.5rem;}
    
    .paquetes-body {
        padding: 1rem;
    }
    
    .search-wrapper {
        max-width: 100%;
    }
    
    .search-button-modern span {
        display: none;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons a {
        width: 100%;
        justify-content: center;
    }
    
    .card-actions {
        flex-direction: column;
    }
}


/* ============================================================================
   COSTO A PROVEEDOR DEL SERVICIO (/resultado/indexp)
   (extraído del <style> inline del frame: dentro del turbo-frame Turbo
   se lo lleva al reemplazar el frame y la pantalla se queda sin estilo)
   ========================================================================== */

.tari-resumen { background:#f8fafc; border:1px solid #e2e8f0; border-radius:.5rem; padding:.7rem 1rem; margin-bottom:1rem; }
.tari-resumen .nombre { font-weight:600; }
.tari-tabla th { background:#f1f5f9; font-size:.85rem; white-space:nowrap; }
.tari-tabla td { vertical-align:middle; }
.tari-tabla .form-control { min-height:36px; font-size:.95rem; }
.tari-tabla .precio { min-width:78px; text-align:right; }
.tari-tabla .pax { width:74px; text-align:right; }
.tari-tabla .servicio { white-space:nowrap; color:#475569; }
.tari-tabla .hotel-select { min-width:160px; max-width:230px; }
.tari-utilidad { background:#f8fafc; }
.tari-utilidad td { border-top:none; }
.tari-utilidad .precio { min-width:78px; text-align:right; background:#fffdf5; }
.tari-utilidad .utilidad-lab { font-size:.75rem; color:#92400e; font-weight:600; white-space:nowrap; }
.tari-utilidad .servicio { color:#94a3b8; }
.tari-agregar { background:#f8fafc; border:1.5px dashed #94a3b8; border-radius:.5rem; padding:.8rem 1rem; margin-top:1rem; }
.tari-vacio { text-align:center; color:#64748b; padding:1rem; }
tr.tari-nueva { animation:tariFlash 1.6s ease-out; }
@keyframes tariFlash { 0%,60% { background:#cfe2ff; } 100% { background:transparent; } }
.tari-guardar { width:100%; padding:.75rem; font-size:1.05rem; margin-top:1rem; }

/* ============================================================================
   FICHA DEL PAQUETE DEL CRM
   Mismo aspecto que el catalogo de destinos (referencia del dueno) y que la
   lista de paquetes: los valores de abajo son los MISMOS del destino.
   ========================================================================== */
.crm-modern-container { background: #f8f9fa; min-height: 100vh; padding: 2rem; }
.crm-modern-card { background: white; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); overflow: hidden; }
.crm-modern-header { background: white; color: #2c3e50; padding: 1.5rem 2rem; position: relative; border-bottom: 2px solid #f0f0f0; }
.crm-modern-header h1 { margin: 0; font-size: 1.8rem; font-weight: 600; display: flex; align-items: center; gap: 0.75rem; color: #2c3e50; }
.crm-modern-header h1 i { font-size: 1.8rem; color: #667eea; }
.crm-modern-stats { position: absolute; top: 1.5rem; right: 2rem; background: #667eea; color: white; padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.9rem; }
.crm-modern-body { padding: 2rem; }
.crm-modern-subtitulo { font-size: 0.85rem; font-weight: 400; color: #6c757d; margin-left: 0.25rem; }

/* Botones: los mismos del catalogo de destinos */
.btn-card-modern { flex: 1; padding: 0.5rem; border-radius: 8px; text-decoration: none; text-align: center; font-size: 0.85rem; font-weight: 500; transition: all 0.2s ease; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.btn-modern-back { background: #6c757d; color: white; padding: 0.7rem 1.5rem; border-radius: 10px; text-decoration: none; transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; margin-bottom: 1.5rem; border: none; cursor: pointer; }
.btn-modern-back:hover { background: #5a6268; color: white; }
.btn-edit-modern { background: #ffc107; color: #212529; }
.btn-edit-modern:hover { background: #e0a800; color: #212529; }
.btn-departure-modern { background: #17a2b8; color: white; }
.btn-departure-modern:hover { background: #138496; color: white; }
.btn-includes-modern { background: #28a745; color: white; }
.btn-includes-modern:hover { background: #1e7e34; color: white; }
.btn-pricing-modern { background: #17a2b8; color: white; }
.btn-pricing-modern:hover { background: #138496; color: white; }
.btn-image-modern { background: #6f42c1; color: white; }
.btn-image-modern:hover { background: #5a32a3; color: white; }
.btn-translations-modern { background: #6f42c1; color: white; }
.btn-translations-modern:hover { background: #5a32a3; color: white; }

/* Informacion de la ficha */
.crm-info-section { background: #f8f9fa; border-radius: 15px; padding: 1.5rem; margin-bottom: 2rem; }
.crm-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.crm-info-item { display: flex; align-items: center; gap: 1rem; }
.crm-info-label { font-weight: 600; color: #495057; min-width: 100px; }
.crm-info-value { color: #2c3e50; }
.crm-info-value a { color: #667eea; text-decoration: none; }
.crm-info-value a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .crm-modern-container { padding: 1rem; }
    .crm-modern-header { padding: 1rem; text-align: center; }
    .crm-modern-header h1 { font-size: 1.5rem; justify-content: center; }
    .crm-modern-stats { position: static; display: inline-block; margin-top: 0.5rem; }
    .crm-modern-body { padding: 1rem; }
}
