* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    background: linear-gradient(135deg, #f5f5f5, #e0d4ff);
    transition: background 0.3s, color 0.3s;
}

body.dark-mode {
    background: linear-gradient(135deg, #1a1a1a, #2c1b47);
    color: #e0e0e0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Login Modal Styles Removed */

/* Header */
header {
    background: linear-gradient(45deg, #8C52FF, #5e17eb);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0.3;
}

header h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeInDown 1s ease-in-out;
}

header p {
    font-size: 1.2rem;
    position: relative;
    animation: fadeInUp 1s ease-in-out 0.3s both;
}

/* Social Media Icons */
.social-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 20;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-btn:hover {
    background: white;
    color: #5e17eb;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: white;
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    height: 100%;
    width: 250px;
    background-color: #5e17eb;
    padding: 6rem 2rem 2rem 2rem;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
}

.sidebar.active {
    left: 0;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin: 1.5rem 0;
}

.sidebar a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.sidebar a:hover {
    color: #FC6BC6;
}

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    background: #8C52FF;
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1100;
}

/* Chapters */
.chapter {
    background: white;
    padding: 2.5rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-in-out forwards;
    animation-delay: calc(0.2s * var(--i));
}

body.dark-mode .chapter {
    background: #2c2c2c;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.chapter h2 {
    color: #5e17eb;
    font-size: 2rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid #FC6BC6;
    padding-bottom: 0.5rem;
    transition: color 0.3s;
}

body.dark-mode .chapter h2 {
    color: #FC6BC6;
}

.chapter p {
    color: #333;
    margin-bottom: 1rem;
}

body.dark-mode .chapter p {
    color: #d0d0d0;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #FC6BC6;
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}

/* Footer */
footer {
    background: linear-gradient(45deg, #8C52FF, #5e17eb);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 8px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hidden Content */
/* Hidden Content Removed */

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .chapter {
        padding: 1.5rem;
    }

    .sidebar {
        width: 200px;
    }

    .modal-content {
        width: 95%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    header p {
        font-size: 0.9rem;
    }

    .container {
        padding: 10px;
    }

    .chapter {
        padding: 1rem;
    }
}

/* Mobile: Reminder Banner repositioning */
@media (max-width: 768px) {
    #reminderBanner {
        top: 70px !important;
        /* Push below menu/dark mode buttons */
        left: 50% !important;
        right: auto !important;
        width: calc(100% - 2rem) !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 1rem !important;
    }

    /* Make the banner content stack better on small screens */
    #reminderBanner .flex.items-start {
        flex-direction: column;
        gap: 0.75rem;
    }

    #reminderBanner .text-5xl {
        display: none;
        /* Hide the large clock icon on mobile */
    }
}

/* Custom Dark Mode Overrides for Law Cards */
body.dark-mode .law-card {
    background-color: #2c2c2c;
    border-color: #444;
}

body.dark-mode .law-card h2 {
    color: #FC6BC6 !important;
    /* Override inline/utility text colors */
}

body.dark-mode .law-card p {
    color: #d0d0d0;
}

body.dark-mode .law-card .bg-slate-50 {
    background-color: #383838;
    color: #e0e0e0 !important;
    /* Override text utility classes */
    border-color: #555;
    /* If there are borders */
}

body.dark-mode .law-card .bg-slate-50:hover {
    background-color: #4a4a4a;
}

/* Restore hover colors for specific buttons */
body.dark-mode .law-card .text-\[\#5e17eb\]:hover {
    background-color: #5e17eb !important;
    color: white !important;
}

body.dark-mode .law-card .text-\[\#fc6bc6\]:hover {
    background-color: #fc6bc6 !important;
    color: white !important;
}

/* =========================================
   DARK MODE: Information Cards & Capacitaciones
   ========================================= */

/* Info Cards (Plataformas, Informaciones sections) */
body.dark-mode #plataformas .bg-white,
body.dark-mode #informaciones .bg-white {
    background-color: #2c2c2c !important;
    border-color: #444 !important;
}

body.dark-mode #plataformas .text-slate-800,
body.dark-mode #informaciones .text-slate-800 {
    color: #e0e0e0 !important;
}

body.dark-mode #plataformas .text-slate-500,
body.dark-mode #informaciones .text-slate-500 {
    color: #a0a0a0 !important;
}

body.dark-mode #plataformas .bg-slate-50,
body.dark-mode #informaciones .bg-slate-50 {
    background-color: #383838 !important;
}

/* Capacitaciones section - Level cards */
body.dark-mode #capacitaciones-2026 .bg-white {
    background-color: #2c2c2c !important;
    border-color: #444 !important;
}

body.dark-mode #capacitaciones-2026 .text-slate-800,
body.dark-mode #capacitaciones-2026 h2.text-slate-800 {
    color: #e0e0e0 !important;
}

body.dark-mode #capacitaciones-2026 .text-slate-600 {
    color: #b0b0b0 !important;
}

body.dark-mode #capacitaciones-2026 .text-slate-700 {
    color: #c0c0c0 !important;
}

body.dark-mode #capacitaciones-2026 .text-slate-500 {
    color: #a0a0a0 !important;
}

body.dark-mode #capacitaciones-2026 .text-slate-400 {
    color: #909090 !important;
}

/* Payment methods section - Formas de Pago */
body.dark-mode #capacitaciones-2026 .bg-\[\#8C52FF\]\/10 {
    background-color: rgba(140, 82, 255, 0.2) !important;
}

body.dark-mode #capacitaciones-2026 .bg-blue-50 {
    background-color: rgba(59, 130, 246, 0.15) !important;
}

body.dark-mode #capacitaciones-2026 .border-blue-200 {
    border-color: rgba(59, 130, 246, 0.4) !important;
}

body.dark-mode #capacitaciones-2026 .text-blue-600 {
    color: #60a5fa !important;
}

/* Yellow/Orange promo badge */
body.dark-mode #capacitaciones-2026 .bg-yellow-100 {
    background-color: rgba(251, 191, 36, 0.2) !important;
}

body.dark-mode #capacitaciones-2026 .text-orange-600 {
    color: #fb923c !important;
}

/* Section titles */
body.dark-mode section h2.text-slate-800 {
    color: #e0e0e0 !important;
}



/* --- 1. DROPDOWNS (Details/Summary) --- */
details {
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: white;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode details {
    background-color: #2c2c2c;
    border-color: #444;
}

details[open] {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #8C52FF;
}

body.dark-mode details[open] {
    border-color: #FC6BC6;
    /* Pink accent in dark mode */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.2s ease;
    user-select: none;
}

body.dark-mode summary {
    color: #e0e0e0;
}

summary::-webkit-details-marker {
    display: none;
}

summary:hover {
    background-color: #f8fafc;
    color: #5e17eb;
}

body.dark-mode summary:hover {
    background-color: #383838;
    color: #FC6BC6;
}

details[open] summary {
    background: linear-gradient(135deg, #5e17eb, #8C52FF);
    color: white;
}

body.dark-mode details[open] summary {
    background: linear-gradient(135deg, #2c1b47, #5e17eb);
    color: white;
}

/* Icon rotation */
summary svg {
    transition: transform 0.3s ease;
}

details[open] summary svg {
    transform: rotate(180deg);
    stroke: white;
    /* Ensure icon is white when open */
}

/* Content Animation & Style */
details>div {
    padding: 1.5rem;
    background-color: white;
    border-top: 1px solid #e2e8f0;
    animation: slideDown 0.3s ease-out;
}

body.dark-mode details>div {
    background-color: #2c2c2c;
    /* Match card bg */
    border-top-color: #444;
    color: #d0d0d0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- 2. BUTTON SYSTEM (.btn) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    gap: 0.5rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(0);
}

/* Primary Button (Purple Gradient) */
.btn-primary {
    background: linear-gradient(135deg, #8C52FF, #5e17eb);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(94, 23, 235, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9d6dff, #6f2bf5);
    box-shadow: 0 6px 8px -1px rgba(94, 23, 235, 0.5);
}

/* Secondary Button (Outline/Ghost) */
.btn-secondary {
    background-color: transparent;
    border: 2px solid #5e17eb;
    color: #5e17eb;
}

.btn-secondary:hover {
    background-color: #5e17eb;
    color: white;
}

body.dark-mode .btn-secondary {
    border-color: #FC6BC6;
    color: #FC6BC6;
}

body.dark-mode .btn-secondary:hover {
    background-color: #FC6BC6;
    color: white;
}

/* Accent Button (Pink - used for Downloads) */
.btn-accent {
    background-color: transparent;
    border: 2px solid #FC6BC6;
    color: #FC6BC6;
}

.btn-accent:hover {
    background-color: #FC6BC6;
    color: white;
}

body.dark-mode .btn-accent {
    border-color: #FC6BC6;
    color: #FC6BC6;
}

body.dark-mode .btn-accent:hover {
    background-color: #FC6BC6;
    color: white;
}



/* Article Number Styling */
.art-num {
    color: #FC6BC6 !important;
    font-weight: bold;
}

/* Article Text Justification */
.article-compact {
    margin-bottom: 2rem;
    /* Add spacing between articles */
}

.article-compact p {
    text-align: justify;
}


.btn-ghost {
    background-color: transparent;
    color: #64748b;
}

.btn-ghost:hover {
    background-color: #f1f5f9;
    color: #5e17eb;
}

body.dark-mode .btn-ghost {
    color: #94a3b8;
}

body.dark-mode .btn-ghost:hover {
    background-color: #334155;
    color: #FC6BC6;
}

/* Small Button */
.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
}


/* --- 3. MENU & NAVIGATION IMPROVEMENTS --- */

/* Enhanced Menu Toggle */
.menu-toggle {
    /* Overriding previous .menu-toggle */
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(140, 82, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 12px 16px;
    border-radius: 9999px;
    /* Pill shape */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    z-index: 9999;
    /* Ensure it stays on top */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-toggle:hover {
    background: #5e17eb;
    transform: scale(1.05);
}

/* Enhanced Dark Mode Toggle */
.dark-mode-toggle {
    /* Overriding previous toggle */
    position: fixed;
    /* Explicit position */
    top: 20px;
    right: 20px;
    background: rgba(252, 107, 198, 0.9);
    backdrop-filter: blur(8px);
    padding: 12px 16px;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    z-index: 9999;
    /* Ensure it stays on top */
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    background: #e640af;
    transform: scale(1.05);
}

/* Enhanced Sidebar */
.sidebar {
    background: linear-gradient(180deg, #5e17eb, #2c1b47);
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.3);
}

.sidebar li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    /* Reset margin for cleaner list */
}

.sidebar a {
    display: block;
    padding: 1.5rem 2rem;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #FC6BC6;
    padding-left: 2.5rem;
    /* Slide effect */
}

/* Also styling for the "La modifican" tags which are text-slate-500 */
body.dark-mode .law-card .text-slate-500:hover {
    background-color: #4a4a4a;
    /* Simple grey hover */
    color: white !important;
}

/* Footer & Brand Logos */
footer {
    text-align: center;
    padding: 3rem 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}



.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.brand-logo {
    height: 90px;
    /* Increased from 60px */
    width: auto;
    filter: grayscale(100%) opacity(0.8);
    /* Less transparent */
    transition: all 0.3s ease;
    /* Removed mix-blend-mode to ensure they pop on the light background */
    padding: 5px;
    border-radius: 8px;
}

.brand-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Telegram Button */
.btn-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #0088cc;
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 136, 204, 0.3);
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.btn-telegram:hover {
    background-color: #0099e6;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 136, 204, 0.4);
    color: white;
}



.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.brand-logo {
    height: 35px;
    /* Slightly larger */
    width: auto;
    filter: grayscale(100%) opacity(0.8);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
    /* Semi-transparent white bg */
    padding: 4px;
    border-radius: 6px;
}

.brand-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .brand-logo {
    /* Keep white bg in dark mode for visibility */
    background-color: rgba(255, 255, 255, 0.9);
    filter: grayscale(100%) opacity(0.9);
}

body.dark-mode .brand-logo:hover {
    filter: grayscale(0%) opacity(1) brightness(1.2);
}

/* =========================================
   PRINT STYLES
   ========================================= */
@media print {

    /* Hide UI Elements */
    .sidebar,
    .menu-toggle,
    .dark-mode-toggle,
    .tool-bar,
    .no-print,
    footer,
    .brand-logos {
        display: none !important;
    }

    /* Reset Body */
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
    }

    /* Ensure Layout */
    .container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Title Styling */
    header {
        background: none !important;
        /* Remove gradient */
        color: black !important;
        padding: 0 !important;
        text-align: left;
        /* Or center? Left is standard for docs */
        border-bottom: 2px solid #000;
        margin-bottom: 20px;
    }

    header h1 {
        font-size: 24pt !important;
        text-shadow: none !important;
        color: black !important;
    }

    header p {
        color: #444 !important;
    }

    /* Content Styling */
    details {
        border: none !important;
        margin-bottom: 10px;
        page-break-inside: avoid;
    }
}

/* =========================================
   PLATAFORMAS SECTION DARK MODE
   ========================================= */
body.dark-mode #plataformas h2 {
    color: #e0e0e0;
}

body.dark-mode #plataformas a.group {
    background-color: #2c2c2c;
    border-color: #444;
}

body.dark-mode #plataformas a.group:hover {
    box-shadow: 0 10px 15px -3px rgba(255, 255, 255, 0.1);
}

body.dark-mode #plataformas h3 {
    color: #FC6BC6;
}

body.dark-mode #plataformas p {
    color: #d0d0d0;
}

body.dark-mode #plataformas .bg-slate-50 {
    background-color: #383838;
    color: #FC6BC6;
}

/* =========================================
   DARK MODE UTILITY OVERRIDES
   ========================================= */
body.dark-mode .bg-red-50 {
    background-color: rgba(127, 29, 29, 0.2) !important;
    border-color: rgba(127, 29, 29, 0.5) !important;
}

body.dark-mode .text-red-600,
body.dark-mode .text-red-500 {
    color: #fca5a5 !important;
    /* red-300 */
}

body.dark-mode .bg-blue-50 {
    background-color: rgba(30, 58, 138, 0.2) !important;
    border-color: rgba(30, 58, 138, 0.5) !important;
}

body.dark-mode .text-blue-600,
body.dark-mode .text-blue-500 {
    color: #93c5fd !important;
    /* blue-300 */
}

body.dark-mode .bg-yellow-50,
body.dark-mode .bg-orange-50 {
    background-color: rgba(120, 53, 15, 0.2) !important;
    border-color: rgba(120, 53, 15, 0.5) !important;
}

body.dark-mode .text-yellow-600,
body.dark-mode .text-yellow-500,
body.dark-mode .text-orange-600,
body.dark-mode .text-orange-500 {
    color: #fdba74 !important;
    /* orange-300 */
}

body.dark-mode .bg-green-50 {
    background-color: rgba(20, 83, 45, 0.2) !important;
    border-color: rgba(20, 83, 45, 0.5) !important;
}

body.dark-mode .text-green-600,
body.dark-mode .text-green-500 {
    color: #86efac !important;
    /* green-300 */
}

/* Ampliaciones overrides */
body.dark-mode .ampliacion-title {
    color: #e2e8f0 !important;
    border-color: #8C52FF !important;
}

body.dark-mode .ampliacion-card {
    background-color: #2c2c2c !important;
    border-color: #444 !important;
}

body.dark-mode .ampliacion-card .text-slate-600 {
    color: #cbd5e1 !important;
    /* slate-300 */
}

body.dark-mode .ampliacion-card .bg-slate-100 {
    background-color: #444 !important;
    color: #e2e8f0 !important;
}

/* PDF Section overrides */
body.dark-mode .pdf-compact-card {
    background-color: #2c2c2c !important;
    border-color: #444 !important;
}

body.dark-mode .pdf-compact-card h3 {
    color: #e0d4ff !important;
    /* Lighter purple */
}

body.dark-mode .pdf-compact-card .text-slate-500 {
    color: #94a3b8 !important;
    /* slate-400 */
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    /* High z-index */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    /* Darker green on hover */
    box-shadow: 2px 2px 10px #777;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

/* =========================================
   SEARCH FUNCTIONALITY STYLES
   ========================================= */
.highlight {
    background-color: #fef08a;
    /* Light yellow */
    color: black;
    padding: 0 2px;
    border-radius: 2px;
}

.search-hidden {
    display: none !important;
}

.highlight.active {
    background-color: #f97316;
    /* Orange */
    color: white;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.4);
}

.search-counter {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    pointer-events: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================
   CUSTOM LEGAL LIST STYLES
   ========================================= */
.legal-list-lower-alpha {
    list-style: none;
    counter-reset: legal-alpha;
    padding-left: 20px;
}

.legal-list-lower-alpha li {
    position: relative;
    padding-left: 5px;
    margin-bottom: 5px;
    color: inherit;
    /* Ensure it mimics parent text color */
    opacity: 0.9;
    /* Match paragraph opacity if applicable */
}

/* Ensure dark mode compatibility */
body.dark-mode .legal-list-lower-alpha li::before {
    color: #fc6bc6;
}

.legal-list-lower-alpha li::before {
    counter-increment: legal-alpha;
    content: counter(legal-alpha, lower-alpha) ") ";
    font-weight: bold;
    color: #fc6bc6;
    /* Custom pink color */
}

/* =========================================
   VISUAL OVERHAUL STYLES
   ========================================= */

/* Premium Serif Typography for Legal Content */
.serif-text {
    font-family: 'Merriweather', 'Georgia', 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    /* Slate 700 */
}

body.dark-mode .serif-text {
    color: #e2e8f0;
    /* Slate 200 */
}

/* Accordion (Details & Summary) Enhancements */
details {
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: white;
    transition: all 0.3s ease;
}

details[open] {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

summary {
    list-style: none;
    /* Remove default triangle */
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s;
}

summary:hover {
    background-color: #f1f5f9;
    color: #5e17eb;
    /* Primary color highlight */
}

summary::-webkit-details-marker {
    display: none;
}

/* Rotate icon on open */
details[open] summary svg {
    transform: rotate(180deg);
}

summary svg {
    transition: transform 0.3s ease;
    color: #94a3b8;
}

/* Content Padding inside Details */
details>div {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Dark Mode Overrides for Accordion */
body.dark-mode details {
    background-color: #1e293b;
    border-color: #334155;
}

body.dark-mode summary {
    background-color: #0f172a;
    color: #e2e8f0;
}

body.dark-mode summary:hover {
    background-color: #1e293b;
}

body.dark-mode details>div {
    border-top-color: #334155;
}

/* Header Enhancements */
.chapter h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid #5e17eb;
    color: #1e293b;
    font-size: 1.25rem;
}

body.dark-mode .chapter h3 {
    color: #f8fafc;
    border-left-color: #fc6bc6;
    /* Pink accent in dark mode */
}

/* Sticky Toolbar */
.tool-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    margin-bottom: 2rem;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

body.dark-mode .tool-bar {
    background: rgba(30, 41, 59, 0.9);
    border-bottom-color: #334155;
}

/* --- 4. NEW UTILITIES FOR CONTENT --- */

/* Subsection Title Override */
.chapter h3.subsection-title {
    margin-top: 1rem;
    padding-left: 0;
    /* Align with text */
    border-left: none;
    /* Remove chapter h3 border */
    font-weight: 700;
    font-size: 0.875rem;
    /* text-sm */
    text-transform: uppercase;
    letter-spacing: 0.025em;
    /* tracking-wide */
    margin-bottom: 0.75rem;
    /* mb-3 */
    color: #1f2937;
    /* text-gray-800 */
}

body.dark-mode .chapter h3.subsection-title {
    color: #e5e7eb;
    /* light gray */
}

/* Resource Link (General) */
.resource-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    /* border-gray-200 */
    background-color: transparent;
    transition: all 0.2s;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.resource-link:hover {
    border-color: #8C52FF;
    background-color: rgba(140, 82, 255, 0.05);
    /* Light purple tint */
    color: inherit;
}

.resource-link .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    border-radius: 9999px;
    background-color: #f8fafc;
    /* bg-gray-50 */
    color: #5e17eb;
    transition: all 0.2s;
}

.resource-link:hover .icon-box {
    background-color: #5e17eb;
    color: white;
}

.resource-link .link-text {
    font-weight: 500;
    color: #334155;
    /* text-gray-700 */
    transition: color 0.2s;
}

.resource-link:hover .link-text {
    color: #5e17eb;
}

/* Red Variant for PDFs (match existing red style) */
.resource-link.pdf:hover {
    border-color: #f87171;
    background-color: rgba(254, 242, 242, 0.5);
}

.resource-link.pdf .icon-box {
    background-color: #fef2f2;
    color: #dc2626;
}

.resource-link.pdf:hover .icon-box {
    background-color: #dc2626;
    color: white;
}

.resource-link.pdf:hover .link-text {
    color: #b91c1c;
}

/* Dark Mode for Resource Links */
body.dark-mode .resource-link {
    border-color: #475569;
}

body.dark-mode .resource-link:hover {
    background-color: rgba(140, 82, 255, 0.1);
    border-color: #FC6BC6;
}

body.dark-mode .resource-link .icon-box {
    background-color: #1e293b;
    color: #a78bfa;
}

body.dark-mode .resource-link:hover .icon-box {
    background-color: #FC6BC6;
    color: white;
}

body.dark-mode .resource-link .link-text {
    color: #e2e8f0;
}

body.dark-mode .resource-link:hover .link-text {
    color: #FC6BC6;
}

/* Dark Mode for PDF Variant */
body.dark-mode .resource-link.pdf:hover {
    border-color: #f87171;
    background-color: rgba(220, 38, 38, 0.1);
}

body.dark-mode .resource-link.pdf .icon-box {
    background-color: #1e293b;
    color: #f87171;
}

body.dark-mode .resource-link.pdf:hover .icon-box {
    background-color: #ef4444;
    color: white;
}

body.dark-mode .resource-link.pdf:hover .link-text {
    color: #f87171;
}

/* =========================================
   HIERARCHICAL NESTED COLLAPSIBLES
   For Constitution structure: PARTE > TÍTULO > CAPÍTULO > SECCIÓN > ARTÍCULOS
   ========================================= */

/* Level 1: PARTE - Purple gradient */
details.nivel-parte {
    border: 2px solid #5e17eb;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

details.nivel-parte>summary {
    background: linear-gradient(135deg, #5e17eb, #8C52FF);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1.25rem 1.5rem;
    border-radius: 0.9rem 0.9rem 0 0;
}

details.nivel-parte:not([open])>summary {
    border-radius: 0.9rem;
}

details.nivel-parte[open] {
    box-shadow: 0 8px 25px rgba(94, 23, 235, 0.25);
}

/* Level 2: TÍTULO - Pink accent */
details.nivel-titulo {
    border: 1px solid #FC6BC6;
    border-radius: 0.75rem;
    margin: 1rem 0;
    margin-left: 0.5rem;
}

details.nivel-titulo>summary {
    background: linear-gradient(135deg, #FC6BC6, #ff8ad5);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 1.25rem;
}

details.nivel-titulo[open] {
    box-shadow: 0 4px 15px rgba(252, 107, 198, 0.2);
}

/* Level 3: CAPÍTULO - Slate/Blue */
details.nivel-capitulo {
    border: 1px solid #64748b;
    border-radius: 0.5rem;
    margin: 0.75rem 0;
    margin-left: 0.75rem;
    background-color: #fafafa;
}

details.nivel-capitulo>summary {
    background: linear-gradient(135deg, #475569, #64748b);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1rem;
}

details.nivel-capitulo[open] {
    box-shadow: 0 3px 10px rgba(100, 116, 139, 0.15);
}

/* Level 4: SECCIÓN - Light slate */
details.nivel-seccion {
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    margin: 0.5rem 0;
    margin-left: 1rem;
    background-color: #f8fafc;
}

details.nivel-seccion>summary {
    background: linear-gradient(135deg, #94a3b8, #cbd5e1);
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
}

details.nivel-seccion[open] {
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.15);
}

/* Content container for articles */
.nivel-seccion>div,
.nivel-capitulo>div,
.nivel-titulo>div,
.nivel-parte>div {
    padding: 1rem;
}

/* Articles container inside sections */
.articulos-container {
    padding-left: 0.5rem;
}

/* Dark Mode Adaptations for Hierarchical Levels */
body.dark-mode details.nivel-parte {
    border-color: #8C52FF;
    background-color: #1e1e1e;
}

body.dark-mode details.nivel-parte>summary {
    background: linear-gradient(135deg, #3b1d73, #5e17eb);
}

body.dark-mode details.nivel-titulo {
    border-color: #FC6BC6;
    background-color: #252525;
}

body.dark-mode details.nivel-titulo>summary {
    background: linear-gradient(135deg, #a94a7f, #FC6BC6);
}

body.dark-mode details.nivel-capitulo {
    border-color: #475569;
    background-color: #2a2a2a;
}

body.dark-mode details.nivel-capitulo>summary {
    background: linear-gradient(135deg, #334155, #475569);
    color: #e2e8f0;
}

body.dark-mode details.nivel-seccion {
    border-color: #64748b;
    background-color: #303030;
}

body.dark-mode details.nivel-seccion>summary {
    background: linear-gradient(135deg, #475569, #64748b);
    color: #f1f5f9;
}

/* Nested content backgrounds in dark mode */
body.dark-mode .nivel-parte>div,
body.dark-mode .nivel-titulo>div,
body.dark-mode .nivel-capitulo>div,
body.dark-mode .nivel-seccion>div {
    background-color: inherit;
}

/* Preámbulo special styling */
details.nivel-preambulo {
    border: 2px solid #8C52FF;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
}

details.nivel-preambulo>summary {
    background: linear-gradient(135deg, #8C52FF, #a78bfa);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1.25rem 1.5rem;
}

body.dark-mode details.nivel-preambulo {
    background: linear-gradient(135deg, #2c1b47, #3b1d73);
    border-color: #8C52FF;
}

body.dark-mode details.nivel-preambulo>summary {
    background: linear-gradient(135deg, #5e17eb, #8C52FF);
}

/* =========================================
   CALENDAR STYLES
   ========================================= */
.calendar-container {
    font-family: 'Inter', sans-serif;
}

.event-item {
    border-left: 4px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.event-item.feriado {
    border-left-color: #ef4444;
    background-color: #fef2f2;
}

.event-item.academico {
    border-left-color: #3b82f6;
    background-color: #eff6ff;
}

.event-item.conmemorativo {
    border-left-color: #10b981;
    background-color: #ecfdf5;
}

.event-item.evaluacion {
    border-left-color: #f59e0b;
    background-color: #fffbeb;
}

.event-item.jornadasindical {
    border-left-color: #8b5cf6;
    background-color: #f5f3ff;
}

.event-item.asueto {
    border-left-color: #f97316;
    background-color: #fff7ed;
}

.event-item.administrativo {
    border-left-color: #0891b2;
    background-color: #e0f7fa;
    color: #155e75;
}

/* Dark mode adjustments for calendar */
body.dark-mode .event-item.feriado {
    background-color: #451a1a;
    color: #fecaca;
}

body.dark-mode .event-item.academico {
    background-color: #1e3a8a;
    color: #dbeafe;
}

body.dark-mode .event-item.conmemorativo {
    background-color: #064e3b;
    color: #d1fae5;
}

body.dark-mode .event-item.evaluacion {
    background-color: #78350f;
    color: #fef3c7;
}

body.dark-mode .event-item.jornadasindical {
    background-color: #4c1d95;
    color: #e9d5ff;
}

body.dark-mode .event-item.asueto {
    background-color: #7c2d12;
    color: #fed7aa;
}

body.dark-mode .event-item.administrativo {
    background-color: #164e63;
    color: #cffafe;
}

body.dark-mode .calendar-title {
    color: #e2e8f0;
}

/* Info box light mode base style */
.info-box {
    background-color: #faf8ff !important;
    /* Very subtle lavender tint */
    border-color: #e9e4f5 !important;
}

.info-box h3 {
    color: #5e17eb !important;
}

.info-box p,
.info-box .text-sm,
.info-box .text-slate-600 {
    color: #334155 !important;
    /* slate-700 for good contrast */
}

.info-box label,
.info-box .text-slate-700 {
    color: #1e293b !important;
    /* slate-800 */
}

.info-box .text-slate-400 {
    color: #64748b !important;
    /* slate-500 for slightly muted text */
}

body.dark-mode .info-box {
    background-color: #2c2c2c !important;
    border-color: #444 !important;
    color: #e5e7eb !important;
}

body.dark-mode .info-box h3 {
    color: #FC6BC6 !important;
}

body.dark-mode .info-box p,
body.dark-mode .info-box .text-slate-600,
body.dark-mode .info-box .text-sm {
    color: #d0d0d0 !important;
}

body.dark-mode .info-box .text-slate-400 {
    color: #94a3b8 !important;
}

body.dark-mode .info-box label,
body.dark-mode .info-box .text-slate-700 {
    color: #e2e8f0 !important;
}

body.dark-mode .info-box .border-slate-100 {
    border-color: #444 !important;
}

/* Month selector light mode */
#monthSelect,
#typeSelect,
#deptSelect {
    background-color: #ffffff;
    border-color: #d1d5db;
    color: #1e293b !important;
    /* slate-800 for legibility */
}

/* Month selector dark mode */
body.dark-mode #monthSelect,
body.dark-mode #typeSelect,
body.dark-mode #deptSelect {
    background-color: #2c2c2c !important;
    border-color: #444 !important;
    color: #e2e8f0 !important;
}

body.dark-mode #monthSelect:focus {
    border-color: #8C52FF;
}

/* Legend dark mode */
body.dark-mode .calendar-container .bg-slate-50 {
    background-color: #2c2c2c !important;
    border-color: #444 !important;
}

body.dark-mode .calendar-container .text-slate-500 {
    color: #94a3b8 !important;
}

/* Month title in events container */
#eventsContainer h2 {
    color: #1e293b !important;
    /* slate-800 for light mode legibility */
}

body.dark-mode #eventsContainer h2 {
    color: #e2e8f0 !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.4s ease forwards;
}

/* =========================================
   CALENDAR CONTAINER DARK MODE STYLES
   ========================================= */

/* Dark mode for calendar container */
body.dark-mode .calendar-container {
    background-color: transparent;
}

/* Dark mode for dynamically generated event cards in index.html */
body.dark-mode #indexEventsContainer>div {
    background-color: #2c2c2c !important;
    border-color: #444 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

body.dark-mode #indexEventsContainer>div:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

/* Event type label */
body.dark-mode #indexEventsContainer .text-slate-400 {
    color: #94a3b8 !important;
}

/* Event title color */
body.dark-mode #indexEventsContainer .text-\[#5e17eb\] {
    color: #FC6BC6 !important;
}

/* Day range text */
body.dark-mode #indexEventsContainer .text-slate-500 {
    color: #94a3b8 !important;
}

/* Event description */
body.dark-mode #indexEventsContainer .text-slate-600 {
    color: #d0d0d0 !important;
}

/* Badge colors in dark mode with better contrast */
body.dark-mode #indexEventsContainer .bg-red-50 {
    background-color: rgba(127, 29, 29, 0.3) !important;
}

body.dark-mode #indexEventsContainer .text-red-700 {
    color: #fca5a5 !important;
}

body.dark-mode #indexEventsContainer .bg-yellow-50 {
    background-color: rgba(120, 53, 15, 0.3) !important;
}

body.dark-mode #indexEventsContainer .text-yellow-700 {
    color: #fcd34d !important;
}

body.dark-mode #indexEventsContainer .bg-blue-50 {
    background-color: rgba(30, 58, 138, 0.3) !important;
}

body.dark-mode #indexEventsContainer .text-blue-700 {
    color: #93c5fd !important;
}

body.dark-mode #indexEventsContainer .bg-emerald-50 {
    background-color: rgba(6, 78, 59, 0.3) !important;
}

body.dark-mode #indexEventsContainer .text-emerald-700 {
    color: #6ee7b7 !important;
}

body.dark-mode #indexEventsContainer .bg-violet-50 {
    background-color: rgba(76, 29, 149, 0.3) !important;
}

body.dark-mode #indexEventsContainer .text-violet-700 {
    color: #c4b5fd !important;
}

body.dark-mode #indexEventsContainer .bg-slate-50 {
    background-color: #3f3f3f !important;
}

/* Section title adjustments for dark mode */
body.dark-mode #actividades-mes h2 {
    color: #e0e0e0;
}

body.dark-mode #actividades-mes .text-slate-800 {
    color: #e0e0e0 !important;
}

body.dark-mode #actividades-mes .border-slate-200 {
    border-color: #444 !important;
}

/* "Ver Calendario Completo" button dark mode */
body.dark-mode #actividades-mes a.bg-white {
    background-color: #2c2c2c !important;
    border-color: #444 !important;
    color: #FC6BC6 !important;
}

body.dark-mode #actividades-mes a.bg-white:hover {
    color: #e879f9 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Loading spinner dark mode */
body.dark-mode #indexEventsContainer .text-slate-500 {
    color: #94a3b8 !important;
}

/* =========================================
   DARK MODE: INSCRIPCIONES / CAPACITACIONES
   ========================================= */

/* Section title */
body.dark-mode #inscripciones-2026 h2,
body.dark-mode #formas-pago h2 {
    color: #e0e0e0 !important;
}

body.dark-mode #inscripciones-2026 .text-slate-800,
body.dark-mode #formas-pago .text-slate-800 {
    color: #e0e0e0 !important;
}

/* Cards background */
body.dark-mode #inscripciones-2026 .bg-white,
body.dark-mode #formas-pago .bg-white {
    background-color: #2c2c2c !important;
    border-color: #444 !important;
}

/* Text colors */
body.dark-mode #inscripciones-2026 .text-slate-600,
body.dark-mode #formas-pago .text-slate-600 {
    color: #a0a0a0 !important;
}

body.dark-mode #inscripciones-2026 .text-slate-500,
body.dark-mode #formas-pago .text-slate-500 {
    color: #888 !important;
}

body.dark-mode #inscripciones-2026 .text-slate-400,
body.dark-mode #formas-pago .text-slate-400 {
    color: #777 !important;
}

body.dark-mode #inscripciones-2026 .text-slate-700,
body.dark-mode #formas-pago .text-slate-700 {
    color: #c0c0c0 !important;
}

/* Button styles for payment options */
body.dark-mode #inscripciones-2026 .bg-slate-50,
body.dark-mode #formas-pago .bg-slate-50 {
    background-color: #383838 !important;
    color: #e0e0e0 !important;
    border-color: #555 !important;
}

body.dark-mode #inscripciones-2026 .bg-slate-50:hover,
body.dark-mode #formas-pago .bg-slate-50:hover {
    background-color: #8C52FF !important;
}

/* Blue buttons (Giros Tigo, EPO) */
body.dark-mode #inscripciones-2026 .bg-blue-50,
body.dark-mode #formas-pago .bg-blue-50 {
    background-color: rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
}

body.dark-mode #inscripciones-2026 .bg-blue-100,
body.dark-mode #formas-pago .bg-blue-100 {
    background-color: rgba(59, 130, 246, 0.2) !important;
}

/* Green buttons (Wally) */
body.dark-mode #inscripciones-2026 .bg-green-50,
body.dark-mode #formas-pago .bg-green-50 {
    background-color: rgba(34, 197, 94, 0.15) !important;
    border-color: rgba(34, 197, 94, 0.4) !important;
}

/* Orange buttons (Mango) */
body.dark-mode #inscripciones-2026 .bg-orange-50,
body.dark-mode #formas-pago .bg-orange-50 {
    background-color: rgba(249, 115, 22, 0.15) !important;
    border-color: rgba(249, 115, 22, 0.4) !important;
}

/* Pink accent backgrounds */
body.dark-mode #inscripciones-2026 .bg-\[\#FC6BC6\]\/10,
body.dark-mode #formas-pago .bg-\[\#FC6BC6\]\/10 {
    background-color: rgba(252, 107, 198, 0.15) !important;
}

/* Purple accent backgrounds */
body.dark-mode #inscripciones-2026 .bg-\[\#8C52FF\]\/10,
body.dark-mode #formas-pago .bg-\[\#8C52FF\]\/10 {
    background-color: rgba(140, 82, 255, 0.15) !important;
}

/* Borders in dark mode */
body.dark-mode #inscripciones-2026 .border-slate-100,
body.dark-mode #formas-pago .border-slate-100 {
    border-color: #444 !important;
}

body.dark-mode #inscripciones-2026 .border-slate-200,
body.dark-mode #formas-pago .border-slate-200,
body.dark-mode .capacitaciones-section .border-slate-200 {
    border-color: #444 !important;
}

body.dark-mode #inscripciones-2026 .divide-slate-100>*+*,
body.dark-mode #formas-pago .divide-slate-100>*+* {
    border-color: #444 !important;
}

/* Toast notification in dark mode */
body.dark-mode #toast-flyer {
    background-color: #FC6BC6 !important;
    color: #1a1a1a !important;
}

/* Link colors */
body.dark-mode #inscripciones-2026 a.text-\[\#5e17eb\],
body.dark-mode #formas-pago a.text-\[\#5e17eb\] {
    color: #b794f6 !important;
}

body.dark-mode #inscripciones-2026 a.text-\[\#5e17eb\]:hover,
body.dark-mode #formas-pago a.text-\[\#5e17eb\]:hover {
    color: #FC6BC6 !important;
}

/* =========================================
   DARK MODE: INFORMACIÓN IMPORTANTE
   ========================================= */

/* Section border */
body.dark-mode #info-importante,
body.dark-mode section.border-t.border-slate-200 {
    border-color: #444 !important;
}

/* Section title */
body.dark-mode #info-importante h2 {
    color: #e0e0e0 !important;
}

body.dark-mode #info-importante .text-slate-800 {
    color: #e0e0e0 !important;
}

/* Cards */
body.dark-mode #info-importante .bg-white {
    background-color: #2c2c2c !important;
    border-color: #444 !important;
}

/* Card titles */
body.dark-mode #info-importante h3 {
    color: #FC6BC6 !important;
}

body.dark-mode #info-importante .text-\[\#5e17eb\] {
    color: #b794f6 !important;
}

/* Text colors */
body.dark-mode #info-importante .text-slate-600 {
    color: #a0a0a0 !important;
}

body.dark-mode #info-importante .text-slate-700 {
    color: #c0c0c0 !important;
}

/* List bullets */
body.dark-mode #info-importante .text-\[\#8C52FF\] {
    color: #b794f6 !important;
}

/* Contact icons backgrounds */
body.dark-mode #info-importante .bg-\[\#25D366\]\/10 {
    background-color: rgba(37, 211, 102, 0.2) !important;
}

body.dark-mode #info-importante .bg-\[\#5e17eb\]\/10 {
    background-color: rgba(140, 82, 255, 0.2) !important;
}

/* Links */
body.dark-mode #info-importante a {
    color: #c0c0c0 !important;
}

body.dark-mode #info-importante a:hover {
    color: #FC6BC6 !important;
}