/*
Theme Name: THW Enfermería al Día (Triskel Care Sovereign)
Theme URI: https://enfermeriaaldia.triskelwellness.com/
Author: Triskelwellness Tech Team & Carlos Guerrero
Author URI: https://triskelwellness.com/
Description: Tema oficial soberano para Enfermería al Día (NIT 901538165-5) en enfermeriaaldia.triskelwellness.com. Arquitectura Argon Max Glassmorphism Bento Grid, Cotizador Clínico Interactivo, Pasaporte Cardíaco Triskel Pulse rPPG 1-Clic, Movilidad Duster 2026 y Escudo Legal Ley 1581/2012.
Version: 400.2.0
Text Domain: triskel-enfermeria
*/

/* 1. TELÓN DE FONDO (BACKDROP) AIRY & BIOPHILIC */
.front-drawer-backdrop {
    background: rgba(15, 23, 42, 0.35) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 2. CONTENEDOR PRINCIPAL DEL DRAWER (CRISTAL BLANCO PULIDO) */
.front-drawer-panel,
[id^="drawer-front-"] {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-top: 1.5px solid rgba(255, 255, 255, 0.9) !important;
    border-left: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-right: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 -20px 50px -10px rgba(15, 23, 42, 0.15) !important;
    color: #0f172a !important;
    border-radius: 28px 28px 0 0 !important;
}

/* Desktop Sidebar Mode (si abre lateral) */
@media (min-width: 768px) {
    .front-drawer-panel,
    [id^="drawer-front-"] {
        border-radius: 28px 0 0 28px !important;
        border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
        box-shadow: -20px 0 50px -10px rgba(15, 23, 42, 0.12) !important;
    }
}

/* 3. MANIJA SUPERIOR (HANDLE) TIPO PULL-BAR */
.front-drawer-handle {
    background: #cbd5e1 !important;
    width: 48px !important;
    height: 5px !important;
    border-radius: 999px !important;
    margin: 10px auto 16px auto !important;
    opacity: 0.9 !important;
}

/* 4. NEUTRALIZACIÓN PROFUNDA DE TEXTOS (ANIQUILACIÓN DE INLINE #FFF) */
.front-drawer-panel h2,
.front-drawer-panel h3,
.front-drawer-panel strong,
[id^="drawer-front-"] h2,
[id^="drawer-front-"] h3,
[id^="drawer-front-"] strong {
    color: #0f172a !important;
    letter-spacing: -0.02em !important;
}

.front-drawer-panel p,
.front-drawer-panel span,
[id^="drawer-front-"] p,
[id^="drawer-front-"] span:not([class*="badge"]):not([class*="pill"]):not([style*="color"]) {
    color: #475569 !important;
}

/* 5. TARJETAS INTERACTIVAS INTERNAS (ITEMS SELECCIONABLES) */
.front-drawer-panel div[onclick*="openFrontDrawer"],
[id^="drawer-front-"] div[onclick*="openFrontDrawer"] {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.front-drawer-panel div[onclick*="openFrontDrawer"]:hover,
[id^="drawer-front-"] div[onclick*="openFrontDrawer"]:hover {
    transform: translateY(-2px) !important;
    border-color: #0284c7 !important;
    box-shadow: 0 10px 25px -4px rgba(2, 132, 199, 0.12) !important;
}

/* Acentos en subtítulos de las tarjetas */
.front-drawer-panel div[onclick*="openFrontDrawer"] span[style*="color:#94a3b8"],
[id^="drawer-front-"] div[onclick*="openFrontDrawer"] span[style*="color:#94a3b8"] {
    color: #64748b !important;
}

/* 6. LISTA DE ESPECIFICACIONES CLÍNICAS (DRAWER-SPEC-LIST) */
.drawer-spec-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 16px 0 !important;
}

.drawer-spec-list li {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02) !important;
}

.drawer-spec-list li div,
.drawer-spec-list li strong {
    color: #334155 !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
}

.drawer-spec-list li strong {
    color: #0f172a !important;
}

/* 7. BOTÓN VOLVER (ARROW) Y BOTÓN CERRAR (X) */
.front-drawer-panel button[onclick*="openFrontDrawer('care-hub')"],
.front-drawer-panel button[onclick*="closeFrontDrawer"],
[id^="drawer-front-"] button[onclick*="openFrontDrawer('care-hub')"],
[id^="drawer-front-"] button[onclick*="closeFrontDrawer"] {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
}

.front-drawer-panel button[onclick*="closeFrontDrawer"]:hover,
[id^="drawer-front-"] button[onclick*="closeFrontDrawer"]:hover {
    background: #fee2e2 !important;
    color: #e11d48 !important;
    border-color: #fca5a5 !important;
}

/* 8. BOTÓN DE DISPARO DIRECTO A WHATSAPP (ESTILO TRISKEL PULSE) */
.front-drawer-panel .btn-hero-primary,
[id^="drawer-front-"] .btn-hero-primary,
.front-drawer-panel button[onclick*="requestNursingServiceWhatsApp"],
[id^="drawer-front-"] button[onclick*="requestNursingServiceWhatsApp"] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    padding: 16px 20px !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35) !important;
    letter-spacing: 0.3px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

.front-drawer-panel .btn-hero-primary:hover,
[id^="drawer-front-"] .btn-hero-primary:hover,
.front-drawer-panel button[onclick*="requestNursingServiceWhatsApp"]:hover,
[id^="drawer-front-"] button[onclick*="requestNursingServiceWhatsApp"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.45) !important;
}

.front-drawer-panel .btn-hero-primary:active,
[id^="drawer-front-"] .btn-hero-primary:active {
    transform: scale(0.98) !important;
}

/* Botón Secundario (Ir a Página Completa) */
.front-drawer-panel .btn-hero-pulse,
[id^="drawer-front-"] .btn-hero-pulse {
    background: #ffffff !important;
    color: #0284c7 !important;
    border: 1.5px solid #bae6fd !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08) !important;
}

.front-drawer-panel .btn-hero-pulse:hover,
[id^="drawer-front-"] .btn-hero-pulse:hover {
    background: #f0f9ff !important;
    border-color: #0284c7 !important;
}