/* ==============================================
   USER DROPDOWN - Componente reutilizable
============================================== */

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.avatar-button {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    /*background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);*/
    background: transparent;
    border: 1px solid transparent;
    color: white;
    padding: 0.4rem 0.6rem 0.4rem 0.4rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    font-size: 0.95rem;
    height: 40px;
}

.avatar-button:hover {
    /*background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);*/
}

.avatar-initial {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.chevron-down {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: transform 0.2s;
}

.user-dropdown:open .chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.2rem);
    right: 0;
    background: linear-gradient(180deg, #e3f2f7 0%, #d8edf3 100%);
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(74, 159, 184, 0.15),
                0 4px 16px rgba(74, 159, 184, 0.12),
                0 8px 32px rgba(0, 0, 0, 0.08);
    min-width: 220px;
    padding: 0 0 0.5rem;
    z-index: 1000;
    overflow: hidden;

    /* CLAVE: Usar opacity + visibility en lugar de display */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

/* Puente invisible para no perder el hover */
.user-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}

/* Click functionality - clase .open */
.user-dropdown.open .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.user-dropdown.open .chevron-down {
    transform: rotate(180deg);
}

.user-dropdown.open .avatar-button {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.user-dropdown-header {
    background: linear-gradient(135deg, #d0e8ef 0%, #c5e3ed 100%);
    padding: 1.1rem 1.3rem;
    border-bottom: 1px solid rgba(74, 159, 184, 0.2);
}

/* Estilos comunes para las tres líneas de información del usuario */
.user-info-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    position: relative;
    cursor: default;
}

/* Indicador visual sutil de que hay tooltip disponible */
.user-info-line.is-truncated {
    cursor: pointer;
}

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

/* Username - Primera línea */
.user-dropdown-header .user-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a4d5c;
    margin-bottom: 0.3rem;
}

/* Email - Segunda línea */
.user-dropdown-header .user-email {
    font-size: 0.8rem;
    color: #507a8e;
    font-weight: 400;
    margin-bottom: 0.3rem;
}

/* Plan - Tercera línea */
.user-dropdown-header .user-plan {
    font-size: 0.85rem;
    color: #3d7087;
    font-weight: 700;
    margin-top: 0.7rem;
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.3rem;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.15s ease;
    cursor: pointer;
    font-weight: 600;
    color: #2d5a6e;
    border-left: 2px solid transparent;
}

/* Mobile-only dropdown buttons (search, dashboard panel) - same style as links */
.user-dropdown-menu button.dropdown-mobile-search,
.user-dropdown-menu button.dropdown-mobile-panel {
    width: 100%;
    background: none;
    border: none;
    border-left: 2px solid transparent;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.3rem;
    font-size: 0.875rem;
    font-family: inherit;
    font-weight: 600;
    color: #2d5a6e;
    cursor: pointer;
    transition: all 0.15s ease;
}

.user-dropdown-menu button.dropdown-mobile-search:hover,
.user-dropdown-menu button.dropdown-mobile-panel:hover {
    background: rgba(74, 159, 184, 0.25);
    color: #1a4d5c;
    border-left-color: #4a9fb8;
}

.user-dropdown-menu a:hover {
    background: rgba(74, 159, 184, 0.25);
    color: #1a4d5c;
    border-left-color: #4a9fb8;
}

.menu-icon {
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

.logout-link {
    border-top: 1px solid rgba(74, 159, 184, 0.2);
    color: #c62828 !important;
}

.logout-link:hover {
    border-top: 1px solid transparent;
    background: rgba(198, 40, 40, 0.08) !important;
    border-left-color: #c62828 !important;
}

.user-dropdown-divider {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px solid #f0f3f5;
}

/* Plan colors - Minimalista */
.user-plan.user-plan-premium {
    color: #d4af37 !important;
    font-weight: 700;
}

.user-plan.user-plan-pro {
    color: #4a90a4 !important;
    font-weight: 700;
}

.user-plan.user-plan-start {
    color: #64748b;
    font-weight: 700;
}

/* ==============================================
   TRIAL SECTION - CTA dentro del dropdown
============================================== */
.trial-section {
    padding: 0.4rem 0.8rem 1rem;
    min-width: 291px;
    display: none;
}

.is_start .trial-section {
    display: block;
}

.lg-es .trial-section {
    min-width: 322px;
}

.trial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.4rem 0 0.4rem;
    position: relative;
}

.trial-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.93rem;
}

.trial-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: absolute;
    top: 3px;
}

.trial-icon svg {
    width: 15px;
    height: 15px;
    stroke: white;
    stroke-width: 2.5;
}

.trial-text-compact {
    flex: 1;
    padding-left: 35px;
}

.trial-days-compact {
    position: relative;
    top: -10px;
    padding-left: 8px;
}

.trial-days {
    font-weight: 700;
    font-size: 1.8rem;
    text-align: center;
}

.days-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.1rem;
    white-space: nowrap;
    font-weight: 600;
}

.trial-description {
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 7px 0 9px;
    font-weight: normal;
}

.trial-button {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    border-left: 0 solid transparent !important;
}

.trial-button:hover {
    border-left: 0 solid transparent !important;
}

.trial-button .button-arrow {
    transition: transform 0.3s ease;
    will-change: transform;
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.trial-button:hover .button-arrow {
    transform: translateX(4px);
}

.trial-note {
    text-align: center;
    font-size: 0.75rem;
    margin-top: 0.6rem;
}

/* -- trial_14_8 -- */
.trial-section-trial_14_8 {
    background: linear-gradient(135deg, #f0f8fb 0%, #e8f4f8 100%);
    border-bottom: 1px solid #a9d8e5;
}

.trial-section-trial_14_8 .trial-title {
    color: #3d8ca8;
}

.trial-section-trial_14_8 .trial-icon {
    background: linear-gradient(135deg, #4a9fb8 0%, #3d8ca8 100%);
}

.trial-section-trial_14_8 .trial-days {
    color: #4a9fb8;
}

.trial-section-trial_14_8 .days-label {
    color: #6bb5ca;
}

.trial-section-trial_14_8 .trial-description {
    color: #5a6c7d;
}

.trial-section-trial_14_8 .trial-button {
    background: linear-gradient(135deg, #4a9fb8 0%, #3d8ca8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 159, 184, 0.3);
}

.trial-section-trial_14_8 .trial-button:hover {
    background: linear-gradient(135deg, #37b9cf 0%, #34aee7 50%, #19b2cb 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
}

.trial-section-trial_14_8 .trial-note {
    color: #8895a7;
}

/* -- trial_7_4 -- */
.trial-section-trial_7_4 {
    background: linear-gradient(135deg, #e5f2f5 0%, #e1f8ff 100%);
    border-bottom: 1px solid #02a5c1ad;
}

.trial-section-trial_7_4 .trial-title {
    color: #0c4a6e;
}

.trial-section-trial_7_4 .trial-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.trial-section-trial_7_4 .trial-days {
    color: #06b6d4;
}

.trial-section-trial_7_4 .days-label {
    color: #0891b2;
}

.trial-section-trial_7_4 .trial-description {
    color: #5a6c7d;
}

.trial-section-trial_7_4 .trial-button {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.trial-section-trial_7_4 .trial-button:hover {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 50%, #0891b2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.trial-section-trial_7_4 .trial-note {
    color: #8895a7;
}

/* -- trial_3_2 -- */
.trial-section-trial_3_2 {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-bottom: 1px solid #0284c7;
    border-top: 1px solid #0284c7;
}

.trial-section-trial_3_2 .trial-title {
    color: #0c4a6e;
}

.trial-section-trial_3_2 .trial-icon {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.trial-section-trial_3_2 .trial-days {
    color: #0284c7;
}

.trial-section-trial_3_2 .days-label {
    color: #0369a1;
}

.trial-section-trial_3_2 .trial-description {
    color: #075985;
}

.trial-section-trial_3_2 .trial-button {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.trial-section-trial_3_2 .trial-button:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
}

.trial-section-trial_3_2 .trial-note {
    color: #075985;
}

/* -- trial_1 -- */
.trial-section-trial_1 {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-bottom: 1px solid #ffb1b1;
}

.trial-section-trial_1 .trial-title {
    color: #c62828;
}

.trial-section-trial_1 .trial-icon {
    background: linear-gradient(135deg, #d36464 0%, #d96161 100%);
}

.trial-section-trial_1 .trial-days {
    color: #c62828;
}

.trial-section-trial_1 .days-label {
    color: #f44336;
}

.trial-section-trial_1 .trial-description {
    color: #991b1b;
}

@keyframes pulse-button {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.000235);
    }
}

.trial-section-trial_1 .trial-button {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.5);
    animation: pulse-button 4s ease-in-out infinite;
}

.trial-section-trial_1 .trial-button:hover {
    background: linear-gradient(135deg, #f95854 0%, #eb3b3b 100%);
    color: white;
    box-shadow: 0 12px 40px rgba(244, 67, 54, 0.5);
}

.trial-section-trial_1 .trial-note {
    color: #c62828;
    font-weight: 700;
}

/* -- trial_expired-- */
.trial-section-trial_expired {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #94a3b8;
}

.trial-section-trial_expired .trial-title {
    color: #5a6c7d;
}

.trial-section-trial_expired .trial-icon {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.trial-section-trial_expired .trial-days {
    color: #8895a7;
}

.trial-section-trial_expired .days-label {
    color: #8895a7;
}

.trial-section-trial_expired .trial-description {
    color: #5a6c7d;
}

.trial-section-trial_expired .trial-button {
    background: linear-gradient(135deg, #4a9fb8 0%, #3d8ca8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 159, 184, 0.3);
}

.trial-section-trial_expired .trial-button:hover {
    background: linear-gradient(135deg, #37b9cf 0%, #34aee7 50%, #19b2cb 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.4);
}

.trial-section-trial_expired .trial-note {
    color: #5a6c7dcc;
}

/* ==============================================
   RESPONSIVE
============================================== */
@media (max-width: 768px) {
    .user-dropdown-menu {
        min-width: 200px;
    }
}

/* ==============================================
   DARK MODE - USER DROPDOWN
============================================== */

/* Avatar button en dark mode */
body.dark-mode .avatar-button {
    /* background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2); */
}

body.dark-mode .avatar-button:hover {
    /* background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3); */
}

body.dark-mode .user-dropdown.open .avatar-button {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.avatar-img {
    border-radius: 50%;
}

/* When a real photo is shown, strip the pill background/border so the image is clean */
.avatar-button:has(.avatar-img) {
    background: transparent;
    border-color: transparent;
    padding-left: 2px;
}
.avatar-button:has(.avatar-img):hover,
.user-dropdown.open .avatar-button:has(.avatar-img),
body.dark-mode .avatar-button:has(.avatar-img):hover,
body.dark-mode .user-dropdown.open .avatar-button:has(.avatar-img) {
    background: rgba(255, 255, 255, 0.1);
    border-color: transparent;
}

/* Dropdown menu en dark mode */
body.dark-mode .user-dropdown-menu {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.2),
                0 4px 16px rgba(0, 0, 0, 0.4),
                0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Header en dark mode */
body.dark-mode .user-dropdown-header {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

body.dark-mode .user-dropdown-header .user-name {
    color: #f1f5f9;
}

body.dark-mode .user-dropdown-header .user-email {
    color: #cbd5e1;
}

body.dark-mode .user-dropdown-header .user-plan {
    color: #94a3b8;
}

/* Plan colors en dark mode */
body.dark-mode .user-plan.user-plan-premium {
    color: #fbbf24 !important; /* Dorado más brillante */
}

body.dark-mode .user-plan.user-plan-pro {
    color: #60a5fa !important; /* Azul más claro */
}

body.dark-mode .user-plan.user-plan-start {
    color: #94a3b8;
}

/* Links del menú en dark mode */
body.dark-mode .user-dropdown-menu a,
body.dark-mode .user-dropdown-menu button.dropdown-mobile-search,
body.dark-mode .user-dropdown-menu button.dropdown-mobile-panel {
    color: #cbd5e1;
}

body.dark-mode .user-dropdown-menu a:hover,
body.dark-mode .user-dropdown-menu button.dropdown-mobile-search:hover,
body.dark-mode .user-dropdown-menu button.dropdown-mobile-panel:hover {
    background: rgba(148, 163, 184, 0.2);
    color: #f1f5f9;
    border-left-color: #60a5fa;
}

body.dark-mode .logout-link {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

body.dark-mode .logout-link:hover {
    background: rgba(220, 38, 38, 0.15) !important;
    border-left-color: #ef4444 !important;
}

body.dark-mode .user-dropdown-divider {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* ==============================================
   DARK MODE - TRIAL SECTIONS
============================================== */

/* -- trial_14_8 en dark mode -- */
body.dark-mode .trial-section-trial_14_8 {
    background: linear-gradient(135deg, #1e3a4f 0%, #1a2f3f 100%);
    border-bottom: 1px solid #2563eb;
}

body.dark-mode .trial-section-trial_14_8 .trial-title {
    color: #60a5fa;
}

body.dark-mode .trial-section-trial_14_8 .trial-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

body.dark-mode .trial-section-trial_14_8 .trial-days {
    color: #60a5fa;
}

body.dark-mode .trial-section-trial_14_8 .days-label {
    color: #93c5fd;
}

body.dark-mode .trial-section-trial_14_8 .trial-description {
    color: #cbd5e1;
}

body.dark-mode .trial-section-trial_14_8 .trial-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4),
                0 0 20px rgba(59, 130, 246, 0.2);
}

body.dark-mode .trial-section-trial_14_8 .trial-button:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5),
                0 0 30px rgba(59, 130, 246, 0.3);
}

body.dark-mode .trial-section-trial_14_8 .trial-note {
    color: #94a3b8;
}

/* -- trial_7_4 en dark mode -- */
body.dark-mode .trial-section-trial_7_4 {
    background: linear-gradient(135deg, #164e63 0%, #0e3a4a 100%);
    border-bottom: 1px solid #06b6d4;
}

body.dark-mode .trial-section-trial_7_4 .trial-title {
    color: #22d3ee;
}

body.dark-mode .trial-section-trial_7_4 .trial-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
}

body.dark-mode .trial-section-trial_7_4 .trial-days {
    color: #22d3ee;
}

body.dark-mode .trial-section-trial_7_4 .days-label {
    color: #67e8f9;
}

body.dark-mode .trial-section-trial_7_4 .trial-description {
    color: #cbd5e1;
}

body.dark-mode .trial-section-trial_7_4 .trial-button {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4),
                0 0 20px rgba(6, 182, 212, 0.25);
}

body.dark-mode .trial-section-trial_7_4 .trial-button:hover {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 50%, #0891b2 100%);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5),
                0 0 35px rgba(6, 182, 212, 0.3);
}

body.dark-mode .trial-section-trial_7_4 .trial-note {
    color: #94a3b8;
}

/* -- trial_3_2 en dark mode (más intenso) -- */
body.dark-mode .trial-section-trial_3_2 {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-bottom: 2px solid #3b82f6;
    border-top: 2px solid #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

body.dark-mode .trial-section-trial_3_2 .trial-title {
    color: #93c5fd;
    text-shadow: 0 0 10px rgba(147, 197, 253, 0.3);
}

body.dark-mode .trial-section-trial_3_2 .trial-icon {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.6);
}

body.dark-mode .trial-section-trial_3_2 .trial-days {
    color: #60a5fa;
    text-shadow: 0 0 12px rgba(96, 165, 250, 0.4);
}

body.dark-mode .trial-section-trial_3_2 .days-label {
    color: #93c5fd;
}

body.dark-mode .trial-section-trial_3_2 .trial-description {
    color: #dbeafe;
}

body.dark-mode .trial-section-trial_3_2 .trial-button {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.5),
                0 0 25px rgba(37, 99, 235, 0.3);
}

body.dark-mode .trial-section-trial_3_2 .trial-button:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6),
                0 0 40px rgba(37, 99, 235, 0.4);
}

body.dark-mode .trial-section-trial_3_2 .trial-note {
    color: #bfdbfe;
}

/* -- trial_1 en dark mode (MÁXIMA URGENCIA con glow intenso) -- */
body.dark-mode .trial-section-trial_1 {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    border-bottom: 2px solid #ef4444;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.4),
                inset 0 0 20px rgba(239, 68, 68, 0.1);
}

body.dark-mode .trial-section-trial_1 .trial-title {
    color: #fca5a5;
    text-shadow: 0 0 15px rgba(252, 165, 165, 0.5);
}

body.dark-mode .trial-section-trial_1 .trial-icon {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.8);
    animation: pulse-icon-dark 2s ease-in-out infinite;
}

@keyframes pulse-icon-dark {
    0%, 100% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.8);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(220, 38, 38, 1);
        transform: scale(1.05);
    }
}

body.dark-mode .trial-section-trial_1 .trial-days {
    color: #fca5a5;
    text-shadow: 0 0 20px rgba(252, 165, 165, 0.6);
}

body.dark-mode .trial-section-trial_1 .days-label {
    color: #fecaca;
    text-shadow: 0 0 10px rgba(254, 202, 202, 0.4);
}

body.dark-mode .trial-section-trial_1 .trial-description {
    color: #fecaca;
}

body.dark-mode .trial-section-trial_1 .trial-button {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6),
                0 0 40px rgba(220, 38, 38, 0.4);
    animation: pulse-button-dark 3s ease-in-out infinite;
}

@keyframes pulse-button-dark {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6),
                    0 0 40px rgba(220, 38, 38, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 8px 30px rgba(220, 38, 38, 0.8),
                    0 0 60px rgba(220, 38, 38, 0.6);
    }
}

body.dark-mode .trial-section-trial_1 .trial-button:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.8),
                0 0 80px rgba(239, 68, 68, 0.6);
}

body.dark-mode .trial-section-trial_1 .trial-note {
    color: #fca5a5;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(252, 165, 165, 0.3);
}

/* -- trial_expired en dark mode -- */
body.dark-mode .trial-section-trial_expired {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-bottom: 1px solid #475569;
}

body.dark-mode .trial-section-trial_expired .trial-title {
    color: #94a3b8;
}

body.dark-mode .trial-section-trial_expired .trial-icon {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
}

body.dark-mode .trial-section-trial_expired .trial-days {
    color: #64748b;
}

body.dark-mode .trial-section-trial_expired .days-label {
    color: #64748b;
}

body.dark-mode .trial-section-trial_expired .trial-description {
    color: #94a3b8;
}

body.dark-mode .trial-section-trial_expired .trial-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

body.dark-mode .trial-section-trial_expired .trial-button:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

body.dark-mode .trial-section-trial_expired .trial-note {
    color: #64748b;
}

