@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --bg-dark: #0b0f19;
    --bg-card: #111827;
    --bg-card-hover: #172033;
    --border-color: #1f293d;
    --border-subtle: #162032;
    --accent-red: #e11d48;
    --accent-blue: #2563eb;
    --accent-instagram: #d62976;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
}

html {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Gradient text */
.text-gradient-once {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-meta {
    background: linear-gradient(135deg, #0084ff 0%, #d62976 50%, #fa7e1e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Channel badge styling */
.badge-facebook {
    background-color: rgba(24, 119, 242, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(24, 119, 242, 0.3);
}

.badge-instagram {
    background: linear-gradient(135deg, rgba(214, 41, 118, 0.15), rgba(250, 126, 30, 0.15));
    color: #f472b6;
    border: 1px solid rgba(214, 41, 118, 0.3);
}

.badge-youtube {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-x {
    background-color: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Post Format Badges */
.format-reel {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}
.format-video {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.format-photo {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.format-link {
    background: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Table styling */
.editorial-table th {
    background-color: #0f172a;
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    font-weight: 600;
}
.editorial-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #1e293b;
    font-size: 0.875rem;
}
.editorial-table tr:hover {
    background-color: rgba(30, 41, 59, 0.5);
}

/* Glass card */
.glass-card {
    background-color: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

/* Glow effects */
.glow-gold {
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.15);
}
.glow-blue {
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
}

/* Ephemerides Category Badges */
.category-mexico {
    background-color: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.3);
}

.category-mundo {
    background-color: rgba(14, 165, 233, 0.15);
    color: #7dd3fc;
    border-color: rgba(14, 165, 233, 0.3);
}

.category-cultura {
    background-color: rgba(168, 85, 247, 0.15);
    color: #d8b4fe;
    border-color: rgba(168, 85, 247, 0.3);
}

.category-oficiales {
    background-color: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.3);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Google Sheets Shift Badges & Cell Styles (Exact replica of media_1788836492333.png) */
.cell-sheets-selected {
    outline: 2px solid #2563eb !important;
    outline-offset: -2px;
    position: relative;
    background-color: rgba(37, 99, 235, 0.05) !important;
}
.cell-sheets-selected::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 6px;
    height: 6px;
    background-color: #2563eb;
    border-radius: 1px;
    z-index: 10;
}

.shift-pill-purple {
    background-color: #e9d5ff !important;
    color: #7e22ce !important;
    border: 1px solid #d8b4fe !important;
}
.shift-pill-teal {
    background-color: #bbf2f6 !important;
    color: #115e59 !important;
    border: 1px solid #99f6e4 !important;
}
.shift-pill-sky {
    background-color: #bae6fd !important;
    color: #0369a1 !important;
    border: 1px solid #7dd3fc !important;
}
.shift-pill-yellow {
    background-color: #fef08a !important;
    color: #854d0e !important;
    border: 1px solid #fde047 !important;
}
.shift-pill-green {
    background-color: #bbf7d0 !important;
    color: #14532d !important;
    border: 1px solid #86efac !important;
}
.shift-pill-gray {
    background-color: #e2e8f0 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}
.shift-pill-slate {
    background-color: #cbd5e1 !important;
    color: #334155 !important;
    border: 1px solid #94a3b8 !important;
}
.shift-pill-peach {
    background-color: #fed7aa !important;
    color: #9a3412 !important;
    border: 1px solid #fdba74 !important;
}
.shift-pill-pink {
    background-color: #fbcfe8 !important;
    color: #9d174d !important;
    border: 1px solid #f472b6 !important;
}
.shift-pill-petrol {
    background-color: #155e75 !important;
    color: #ffffff !important;
    border: 1px solid #0e7490 !important;
}
.shift-pill-brown {
    background-color: #78350f !important;
    color: #ffffff !important;
    border: 1px solid #92400e !important;
}
.shift-pill-mint {
    background-color: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #86efac !important;
}
.shift-pill-amber {
    background-color: #fef3c7 !important;
    color: #713f12 !important;
    border: 1px solid #fde68a !important;
}
.shift-pill-blue {
    background-color: #cffafe !important;
    color: #155e75 !important;
    border: 1px solid #a5f3fc !important;
}
.shift-pill-magenta {
    background-color: #fbcfe8 !important;
    color: #9d174d !important;
    border: 1px solid #f472b6 !important;
}
.shift-pill-darkgreen {
    background-color: #14532d !important;
    color: #ffffff !important;
    border: 1px solid #166534 !important;
}
.shift-pill-desc-purple {
    background-color: #581c87 !important;
    color: #ffffff !important;
    border: 1px solid #7e22ce !important;
}
.shift-pill-darkbrown {
    background-color: #451a03 !important;
    color: #ffffff !important;
    border: 1px solid #290e02 !important;
}
.shift-pill-vacaciones {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border: 1px solid #38bdf8 !important;
}

.shift-pill-pendiente {
    background-color: rgba(245, 158, 11, 0.15) !important;
    color: #f59e0b !important;
    border: 1.5px dashed #f59e0b !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em;
}

/* Option B Excel Layout Styles */
.roles-excel-banner {
    background: #22d3ee;
    color: #082f49;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.roles-excel-block-hdr {
    background: #38bdf8;
    color: #082f49;
    font-weight: 800;
}
.roles-excel-row:hover {
    background-color: rgba(30, 41, 59, 0.7);
}

/* ==========================================================================
   TEAM SELECTOR TABS (Extra Prominent & Distinctive Branding)
   ========================================================================== */
.team-tab-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    outline: none;
    border-width: 2px;
    border-style: solid;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .team-tab-btn {
        padding: 0.55rem 0.95rem;
        font-size: 0.85rem;
        gap: 0.55rem;
    }
}

@media (min-width: 1400px) {
    .team-tab-btn {
        padding: 0.6rem 1.05rem;
        font-size: 0.88rem;
        gap: 0.6rem;
    }
}

.team-tab-btn:hover {
    transform: translateY(-2px);
}

.team-tab-btn:active {
    transform: translateY(0);
}

.team-tab-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 9999px;
    transition: all 0.22s ease;
    flex-shrink: 0;
}

.team-tab-badge {
    padding: 0.1rem 0.45rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 900;
    transition: all 0.22s ease;
    margin-left: 0.1rem;
}

/* --- Tab: Todos los Equipos --- */
.team-tab-all {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(71, 85, 105, 0.7);
    color: #cbd5e1;
}
.team-tab-all:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: #94a3b8;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.team-tab-all.active {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.35), 0 4px 16px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}
.team-tab-all.active .team-tab-badge {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* --- Tab: Coordinación (Blue) --- */
.team-tab-coordinacion {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(59, 130, 246, 0.45);
    color: #93c5fd;
}
.team-tab-coordinacion .team-tab-dot {
    background-color: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
}
.team-tab-coordinacion .team-tab-badge {
    background: rgba(30, 58, 138, 0.45);
    color: #bfdbfe;
    border: 1px solid rgba(59, 130, 246, 0.4);
}
.team-tab-coordinacion:hover {
    background: rgba(30, 58, 138, 0.35);
    border-color: rgba(59, 130, 246, 0.85);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}
.team-tab-coordinacion.active {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.75) 0%, rgba(37, 99, 235, 0.55) 100%);
    border-color: #60a5fa;
    color: #ffffff;
    box-shadow: 0 0 28px rgba(59, 130, 246, 0.55), 0 6px 20px rgba(30, 58, 138, 0.5);
    transform: translateY(-2px);
}
.team-tab-coordinacion.active .team-tab-dot {
    background-color: #ffffff;
    box-shadow: 0 0 14px #60a5fa, 0 0 4px #ffffff;
}
.team-tab-coordinacion.active .team-tab-badge {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.7);
}

/* --- Tab: Communities (Emerald) --- */
.team-tab-communities {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(16, 185, 129, 0.45);
    color: #6ee7b7;
}
.team-tab-communities .team-tab-dot {
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
}
.team-tab-communities .team-tab-badge {
    background: rgba(6, 78, 59, 0.45);
    color: #a7f3d0;
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.team-tab-communities:hover {
    background: rgba(6, 78, 59, 0.35);
    border-color: rgba(16, 185, 129, 0.85);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}
.team-tab-communities.active {
    background: linear-gradient(135deg, rgba(6, 95, 70, 0.75) 0%, rgba(16, 185, 129, 0.55) 100%);
    border-color: #34d399;
    color: #ffffff;
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.55), 0 6px 20px rgba(6, 95, 70, 0.5);
    transform: translateY(-2px);
}
.team-tab-communities.active .team-tab-dot {
    background-color: #ffffff;
    box-shadow: 0 0 14px #34d399, 0 0 4px #ffffff;
}
.team-tab-communities.active .team-tab-badge {
    background: #059669;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.7);
}

/* --- Tab: Redacción (Indigo) --- */
.team-tab-redaccion {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(99, 102, 241, 0.45);
    color: #a5b4fc;
}
.team-tab-redaccion .team-tab-dot {
    background-color: #6366f1;
    box-shadow: 0 0 10px #6366f1;
}
.team-tab-redaccion .team-tab-badge {
    background: rgba(49, 46, 129, 0.45);
    color: #c7d2fe;
    border: 1px solid rgba(99, 102, 241, 0.4);
}
.team-tab-redaccion:hover {
    background: rgba(49, 46, 129, 0.35);
    border-color: rgba(99, 102, 241, 0.85);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}
.team-tab-redaccion.active {
    background: linear-gradient(135deg, rgba(49, 46, 129, 0.75) 0%, rgba(99, 102, 241, 0.55) 100%);
    border-color: #818cf8;
    color: #ffffff;
    box-shadow: 0 0 28px rgba(99, 102, 241, 0.55), 0 6px 20px rgba(49, 46, 129, 0.5);
    transform: translateY(-2px);
}
.team-tab-redaccion.active .team-tab-dot {
    background-color: #ffffff;
    box-shadow: 0 0 14px #818cf8, 0 0 4px #ffffff;
}
.team-tab-redaccion.active .team-tab-badge {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(129, 140, 248, 0.7);
}

/* --- Tab: Diseño (Amber / Gold) --- */
.team-tab-diseno {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(245, 158, 11, 0.45);
    color: #fcd34d;
}
.team-tab-diseno .team-tab-dot {
    background-color: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}
.team-tab-diseno .team-tab-badge {
    background: rgba(120, 53, 15, 0.45);
    color: #fde68a;
    border: 1px solid rgba(245, 158, 11, 0.4);
}
.team-tab-diseno:hover {
    background: rgba(120, 53, 15, 0.35);
    border-color: rgba(245, 158, 11, 0.85);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}
.team-tab-diseno.active {
    background: linear-gradient(135deg, rgba(146, 64, 14, 0.75) 0%, rgba(245, 158, 11, 0.55) 100%);
    border-color: #fbbf24;
    color: #ffffff;
    box-shadow: 0 0 28px rgba(245, 158, 11, 0.55), 0 6px 20px rgba(146, 64, 14, 0.5);
    transform: translateY(-2px);
}
.team-tab-diseno.active .team-tab-dot {
    background-color: #ffffff;
    box-shadow: 0 0 14px #fbbf24, 0 0 4px #ffffff;
}
.team-tab-diseno.active .team-tab-badge {
    background: #d97706;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.7);
}

/* --- Tab: Directorio (Teal / Cyan) --- */
.team-tab-directorio {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(20, 184, 166, 0.45);
    color: #5eead4;
}
.team-tab-directorio .team-tab-dot {
    background-color: #14b8a6;
    box-shadow: 0 0 10px #14b8a6;
}
.team-tab-directorio .team-tab-badge {
    background: rgba(19, 78, 74, 0.45);
    color: #99f6e4;
    border: 1px solid rgba(20, 184, 166, 0.4);
}
.team-tab-directorio:hover {
    background: rgba(19, 78, 74, 0.35);
    border-color: rgba(20, 184, 166, 0.85);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
}
.team-tab-directorio.active {
    background: linear-gradient(135deg, rgba(17, 94, 89, 0.8) 0%, rgba(13, 148, 136, 0.6) 100%);
    border-color: #2dd4bf;
    color: #ffffff;
    box-shadow: 0 0 28px rgba(20, 184, 166, 0.55), 0 6px 20px rgba(17, 94, 89, 0.5);
    transform: translateY(-2px);
}
.team-tab-directorio.active .team-tab-dot {
    background-color: #ffffff;
    box-shadow: 0 0 14px #2dd4bf, 0 0 4px #ffffff;
}
.team-tab-directorio.active .team-tab-badge {
    background: #0d9488;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(45, 212, 191, 0.7);
}

/* --- Tab: Roles Editores (Cyan / Turquesa) --- */
.team-tab-roles-editores {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(6, 182, 212, 0.45);
    color: #67e8f9;
}
.team-tab-roles-editores .team-tab-dot {
    background-color: #06b6d4;
    box-shadow: 0 0 10px #06b6d4;
}
.team-tab-roles-editores .team-tab-badge {
    background: rgba(22, 78, 99, 0.45);
    color: #a5f3fc;
    border: 1px solid rgba(6, 182, 212, 0.4);
}
.team-tab-roles-editores:hover {
    background: rgba(8, 145, 178, 0.35);
    border-color: rgba(6, 182, 212, 0.85);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}
.team-tab-roles-editores.active {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.75) 0%, rgba(6, 182, 212, 0.55) 100%);
    border-color: #22d3ee;
    color: #ffffff;
    box-shadow: 0 0 28px rgba(6, 182, 212, 0.55), 0 6px 20px rgba(8, 145, 178, 0.5);
    transform: translateY(-2px);
}
.team-tab-roles-editores.active .team-tab-dot {
    background-color: #ffffff;
    box-shadow: 0 0 14px #22d3ee, 0 0 4px #ffffff;
}
.team-tab-roles-editores.active .team-tab-badge {
    background: #0891b2;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.7);
}

/* --- Editorial Calendar Table Sticky Header & Native Smooth Scroll (120 FPS GPU) --- */
.ephem-table-container {
    overflow-x: auto;
    overflow-y: visible;
    position: relative;
    max-height: none;
    border-radius: 0 0 1rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: #2563eb #0c1420;
    -webkit-overflow-scrolling: touch;
}

.ephem-table-container table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100%;
}

.ephem-table-container thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 20 !important;
    background-color: #0c1322 !important;
    border-bottom: 2px solid #475569 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Distinct visible division between efemérides and alternating row contrast */
.ephem-table-container tbody td {
    border-bottom: 1.5px solid #334155 !important;
}

.ephem-table-container tbody tr:nth-child(even) td {
    background-color: rgba(15, 23, 42, 0.55);
}

.ephem-table-container tbody tr:nth-child(odd) td {
    background-color: rgba(2, 6, 23, 0.25);
}

.ephem-table-container tbody tr:hover td {
    background-color: rgba(30, 41, 59, 0.8) !important;
}

/* Custom Sleek Scrollbars for Native Table Container */
.ephem-table-container::-webkit-scrollbar {
    width: 10px;
    height: 12px;
}
.ephem-table-container::-webkit-scrollbar-track {
    background: #0c1420;
    border-radius: 0 0 0.75rem 0.75rem;
}
.ephem-table-container::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 6px;
    border: 2px solid #0c1420;
}
.ephem-table-container::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}
.ephem-table-container::-webkit-scrollbar-thumb:active {
    background: #60a5fa;
}
.ephem-table-container::-webkit-scrollbar-corner {
    background: #0c1420;
}

/* Floating Sticky Header (Docked under navbar when scrolling down) */
#ephem-floating-header-bar {
    position: fixed;
    z-index: 20;
    background-color: #0c1322;
    border-bottom: 2px solid #334155;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    pointer-events: none;
}
#ephem-floating-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: fixed !important;
}
#ephem-floating-thead th {
    background-color: #0c1322 !important;
    border-bottom: 2px solid #334155 !important;
    box-sizing: border-box !important;
}

/* Floating Lateral Navigation Chevrons */
.ephem-scroll-chevron {
    position: fixed;
    top: 52%;
    transform: translateY(-50%);
    z-index: 30;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.85);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: #e2e8f0;
}
.ephem-scroll-chevron:hover {
    background: #2563eb;
    border-color: #60a5fa;
    color: #ffffff;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.45);
}
.ephem-scroll-chevron:active {
    transform: translateY(-50%) scale(0.95);
}
.ephem-scroll-chevron.is-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-50%) scale(0.85);
}
.ephem-scroll-chevron.is-visible {
    opacity: 0.92 !important;
    pointer-events: auto !important;
}
.ephem-scroll-chevron.is-visible:hover {
    opacity: 1 !important;
}

/* Delimitadores claramente visibles entre colaboradores en la tabla de Horarios */
#roster-tbody tr,
#roster-tbody tr td,
.schedule-user-row,
.schedule-user-row td {
    border-bottom: 2px solid #64748b !important;
}
#roster-tbody tr:hover,
.schedule-user-row:hover {
    background-color: rgba(30, 41, 59, 0.6) !important;
}

/* Tarjetas delimitadas claramente en Checador de Asistencia */
.collab-card {
    background: #0f172a !important;
    border: 2px solid #64748b !important;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.6) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.collab-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.8) !important;
}

/* Botón Extensión Chrome con resplandor pulsante y llamativo */
@keyframes chromeGlowPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(56, 189, 248, 0.35), 0 0 20px rgba(168, 85, 247, 0.2);
        border-color: rgba(56, 189, 248, 0.55);
    }
    50% {
        box-shadow: 0 0 22px rgba(56, 189, 248, 0.75), 0 0 35px rgba(168, 85, 247, 0.45);
        border-color: rgba(125, 211, 252, 0.95);
    }
}
.btn-chrome-glow {
    animation: chromeGlowPulse 2.4s ease-in-out infinite;
}
.btn-chrome-glow:hover {
    animation: none;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.85), 0 0 40px rgba(168, 85, 247, 0.55) !important;
    border-color: #38bdf8 !important;
}

/* Botón Crear Guion Destacado con Resplandor Exterior Pulsante */
@keyframes crearGuionGlowPulse {
    0%, 100% {
        box-shadow: 0 0 16px rgba(168, 85, 247, 0.65), 0 0 32px rgba(147, 51, 234, 0.4);
        border-color: rgba(216, 180, 254, 0.7);
    }
    50% {
        box-shadow: 0 0 28px rgba(217, 70, 239, 0.95), 0 0 52px rgba(168, 85, 247, 0.75), 0 0 70px rgba(147, 51, 234, 0.45);
        border-color: rgba(255, 255, 255, 0.95);
    }
}

.btn-crear-guion-glow {
    animation: crearGuionGlowPulse 2.2s ease-in-out infinite;
    border: 1.5px solid rgba(216, 180, 254, 0.75);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-crear-guion-glow:hover {
    animation: none;
    transform: translateY(-1.5px) scale(1.025);
    box-shadow: 0 0 35px rgba(217, 70, 239, 1), 0 0 65px rgba(168, 85, 247, 0.85), 0 0 85px rgba(147, 51, 234, 0.5) !important;
    border-color: #ffffff !important;
}









/* ==========================================================
   MOBILE NAVIGATION DRAWER - FIXED OVERLAY & SCROLL LOCK
   Once Noticias Digital Portal
   ========================================================== */
#mobile-nav-drawer {
    position: fixed !important;
    top: 56px;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100dvh - 56px);
    max-height: calc(100dvh - 56px);
    z-index: 99999 !important;
    background-color: rgba(2, 6, 23, 0.98) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
    padding: 16px 16px 60px 16px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.95) !important;
    border-top: 1px solid rgba(51, 65, 85, 0.8) !important;
    box-sizing: border-box !important;
}

#mobile-nav-drawer.hidden {
    display: none !important;
}

/* Elevate header above everything when mobile nav is open */
body.mobile-nav-open header,
html.mobile-nav-open header {
    z-index: 100000 !important;
}

/* Scroll Lock on Body & Html when mobile nav is open */
html.mobile-nav-open,
body.mobile-nav-open {
    overflow: hidden !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overscroll-behavior: none !important;
}