/* =========================
   GOOGLE FONT
========================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');


/* =========================
   BODY
========================= */
body {
    margin: 0;
    padding: 0;

    width: 100%;
    min-height: 100vh;

    overflow-x: hidden;
    overflow-y: auto;

    background: #000;

    font-family: 'Poppins', sans-serif;
}


/* =========================
   LOGIN LAYOUT SPLIT
========================= */
.login-wrapper {
    width: 100%;
    min-height: 85vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.login-left {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.login-brand {
    max-width: 480px;
}

/* BOTON PORTAFOLIO TIPO NAVBAR */
.portfolio-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(138, 40, 255, 0.2);
    color: #e100ff;
    border: 1px solid rgba(138, 40, 255, 0.4);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(138, 40, 255, 0.1);
}

.portfolio-badge:hover {
    background: rgba(138, 40, 255, 0.5);
    color: #fff;
    box-shadow: 0 0 25px rgba(138, 40, 255, 0.4);
    transform: translateY(-2px);
}

.portfolio-badge i {
    margin-right: 8px;
}

.login-brand h1 {
    color: #fff;
    font-size: 3.8rem;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(183, 0, 255, 0.5);
}

.login-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* INSIGNIAS DE FUNCIONES (Habits / English) */
.login-features {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.login-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.login-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.login-feature:hover .login-feature-icon {
    transform: translateY(-4px);
}

.login-feature-habits {
    color: #ff8c42;
    box-shadow: 0 0 15px rgba(255, 140, 66, 0.25);
    border-color: rgba(255, 140, 66, 0.3);
}

.login-feature-english {
    color: #4dabff;
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.25);
    border-color: rgba(13, 110, 253, 0.3);
}

.login-feature span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-style: italic;
}

.login-right {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}


/* =========================
   TARJETA LOGIN
========================= */
.card {

    width: 100%;
    max-width: 580px;

    padding: 60px;

    box-sizing: border-box;

    background: rgba(80, 0, 120, 0.18);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 60px;

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    box-shadow:
        0 0 40px rgba(183, 0, 255, .35),
        0 0 120px rgba(183, 0, 255, .18);

    animation: glow 4s ease-in-out infinite alternate;
}


/* =========================
   ANIMACION BRILLO
========================= */
@keyframes glow {

    from {
        box-shadow:
            0 0 40px rgba(183, 0, 255, .35),
            0 0 120px rgba(183, 0, 255, .18);
    }

    to {
        box-shadow:
            0 0 65px rgba(220, 100, 255, .55),
            0 0 170px rgba(220, 100, 255, .28);
    }
}


/* =========================
   HEADER
========================= */
.card-header {

    background: transparent;

    border: none;

    text-align: center;

    margin-bottom: 45px;
}


/* TITULO */
.card-header h1 {

    color: #fff;

    font-size: 3.2rem;

    font-style: italic;

    font-weight: 500;

    line-height: 1.2;

    letter-spacing: 2px;

    margin: 0;
}


/* SUBTITULO */
.card-header p {

    color: rgba(255, 255, 255, .45);

    font-size: 1.1rem;

    margin-top: 14px;
}


/* =========================
   LABELS
========================= */
.form-label {

    color: #fff;

    font-size: 1.2rem;

    font-style: italic;

    margin-bottom: 12px;

    display: block;
}


/* =========================
   INPUTS
========================= */
.form-control {

    width: 100%;

    height: 78px;

    padding: 0 30px;

    box-sizing: border-box;

    border-radius: 24px;

    border: 1px solid rgba(255, 255, 255, .12);

    background: rgba(255, 255, 255, .06);

    color: #fff;

    font-size: 1.2rem;

    font-style: italic;

    outline: none;

    transition: .3s;
}


/* PLACEHOLDER */
.form-control::placeholder {

    color: rgba(255, 255, 255, .35);

    font-size: 1.1rem;
}


/* FOCUS */
.form-control:focus {

    border: 1px solid #d966ff;

    background: rgba(255, 255, 255, .09);

    box-shadow:
        0 0 25px rgba(217, 102, 255, .45),
        0 0 60px rgba(217, 102, 255, .18);
}


/* ESPACIOS */
.form-group {
    margin-bottom: 35px;
}


/* =========================
   CAMPO DE CONTRASEÑA (mostrar/ocultar)
========================= */
.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 60px;
}

.password-toggle {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    background: none;
    border: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.3s;
}

.password-toggle:hover {
    color: #fff;
}


/* =========================
   BOTONES
========================= */
.btn {

    width: 100%;

    height: 78px;

    border: none;

    border-radius: 24px;

    font-size: 1.3rem;

    font-style: italic;

    font-weight: 500;

    cursor: pointer;

    transition: .3s;
}


/* BOTON PRINCIPAL */
.btn-primary {

    background:
        linear-gradient(135deg,
            #8a28ff,
            #e100ff);

    color: #fff;

    box-shadow:
        0 0 25px rgba(196, 77, 255, .45);
}


/* HOVER */
.btn-primary:hover {

    transform: translateY(-4px);

    box-shadow:
        0 0 45px rgba(196, 77, 255, .75);
}


/* =========================
   LINK
========================= */
.forgot-link {

    display: block;

    text-align: right;

    margin-top: 15px;

    color: #d966ff;

    font-size: 1rem;

    text-decoration: none;

    transition: .3s;
}


.forgot-link:hover {
    color: #fff;
}


/* =========================
   EFECTO TRUENO / RELAMPAGO
========================= */
.lightning-storm {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Destellos atmosféricos en el fondo (como cuando el cielo se ilumina) */
.lightning-storm::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(220, 100, 255, 0.4);
    opacity: 0;
    animation: thunder-flash 12s infinite;
}

/* Animación del relámpago en el cielo */
@keyframes thunder-flash {
    0%, 91%, 93%, 95%, 100% { opacity: 0; }
    92% { opacity: 0.8; background: rgba(255, 255, 255, 0.6); }
    94% { opacity: 0.4; background: rgba(220, 100, 255, 0.5); }
}

/* Efecto de rayo cayendo (simulado con líneas de luz rápida) */
.lightning-flash {
    position: absolute;
    top: -10%;
    width: 2px;
    height: 120%;
    background: #fff;
    box-shadow: 0 0 20px #e100ff, 0 0 50px #fff;
    opacity: 0;
}

/* Diferentes relámpagos cayendo en distintos lugares y tiempos */
.flash-1 { left: 20%; transform: rotate(15deg); animation: lightning-strike 14s infinite 2s; }
.flash-2 { left: 75%; transform: rotate(-10deg); animation: lightning-strike 18s infinite 6s; }
.flash-3 { left: 45%; transform: rotate(5deg); animation: lightning-strike 22s infinite 11s; }

.lightning-flash::after {
    content: '';
    position: absolute;
    top: 30%;
    left: -20px;
    width: 2px;
    height: 50%;
    background: #fff;
    box-shadow: 0 0 15px #e100ff;
    transform: rotate(-35deg);
}

.lightning-flash::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    width: 2px;
    height: 40%;
    background: #fff;
    box-shadow: 0 0 15px #e100ff;
    transform: rotate(25deg);
}

@keyframes lightning-strike {
    0%, 91.5%, 92.5%, 100% { opacity: 0; }
    92% { opacity: 1; }
}

/* =========================
   HOJAS DE CEREZO (SAKURA)
========================= */
.sakura {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.sakura span {
    position: absolute;
    top: -10vh;
    /* Forma de pétalo */
    border-radius: 5px 25px;
    background: linear-gradient(135deg, rgba(230, 130, 255, 0.6), rgba(183, 0, 255, 0.4));
    border: 1px solid rgba(220, 100, 255, 0.3);
    box-shadow: 0 0 10px rgba(183, 0, 255, 0.3);
    animation: fall-sakura linear infinite, sway-sakura ease-in-out infinite alternate;
}

/* Diferentes tamaños, posiciones y velocidades para cada pétalo */
.sakura span:nth-child(1) { left: 10%; width: 18px; height: 18px; animation-duration: 10s, 3s; animation-delay: 1s, 0s; }
.sakura span:nth-child(2) { left: 25%; width: 14px; height: 14px; animation-duration: 14s, 4s; animation-delay: 2s, 1s; }
.sakura span:nth-child(3) { left: 35%; width: 22px; height: 22px; animation-duration: 9s, 3.5s; animation-delay: 0s, 2s; }
.sakura span:nth-child(4) { left: 50%; width: 16px; height: 16px; animation-duration: 12s, 2.5s; animation-delay: 4s, 0.5s; }
.sakura span:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-duration: 11s, 4.5s; animation-delay: 1.5s, 1.5s; }
.sakura span:nth-child(6) { left: 75%; width: 12px; height: 12px; animation-duration: 16s, 3s; animation-delay: 5s, 0s; }
.sakura span:nth-child(7) { left: 85%; width: 17px; height: 17px; animation-duration: 10.5s, 3.8s; animation-delay: 3s, 2.5s; }
.sakura span:nth-child(8) { left: 90%; width: 25px; height: 25px; animation-duration: 13s, 4s; animation-delay: 0.5s, 1s; }
.sakura span:nth-child(9) { left: 5%; width: 15px; height: 15px; animation-duration: 15s, 3.2s; animation-delay: 6s, 2s; }
.sakura span:nth-child(10) { left: 45%; width: 24px; height: 24px; animation-duration: 11.5s, 4.2s; animation-delay: 2.5s, 0.5s; }

/* ANIMACION SAKURA CAYENDO Y GIRANDO */
@keyframes fall-sakura {
    0% {
        top: -10vh;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        top: 110vh;
        opacity: 0;
    }
}

@keyframes sway-sakura {
    0% {
        transform: translateX(0px) rotate(0deg);
    }
    100% {
        transform: translateX(40px) rotate(180deg);
    }
}


/* =========================
   RESPONSIVE
========================= */
@media(max-width:900px) {

    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        padding: 20px;
        text-align: center;
        margin-bottom: 10px;
    }

    .login-brand {
        text-align: center;
    }

    .login-brand h1 {
        font-size: 2.8rem;
    }

    .login-right {
        padding: 10px;
        width: 100%;
    }

    .card {
        padding: 40px;
    }

    .card-header h1 {
        font-size: 2.3rem;
    }

    .form-control,
    .btn {
        height: 60px;
        font-size: 1rem;
    }
}

/* =========================
   SIDEBAR & HAMBURGER
========================= */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(30, 0, 50, 0.45);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 0 40px rgba(183, 0, 255, 0.2);
    transition: 0.3s ease-in-out;
    z-index: 999;
    padding-top: 80px;
    padding-bottom: 24px;
    box-sizing: border-box;
    /* Con muchas opciones el menú se desplaza por dentro, sin mover la página de atrás */
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(217, 102, 255, 0.5) transparent;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(217, 102, 255, 0.5);
    border-radius: 6px;
}

.sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    display: none;
    transition: 0.3s ease-in-out;
}

.sidebar-overlay.active {
    display: block;
}

.hamburger-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: rgba(80, 0, 120, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 12px;
    box-sizing: border-box;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.hamburger-menu:hover {
    box-shadow: 0 0 15px rgba(220, 100, 255, 0.6);
    border-color: rgba(220, 100, 255, 0.5);
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* Animación a X */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    margin: 6px 20px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 11px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.1rem;
    font-style: italic;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.sidebar-link:hover, .sidebar-link.active {
    background: rgba(138, 40, 255, 0.2);
    color: #e100ff;
    border: 1px solid rgba(138, 40, 255, 0.4);
    box-shadow: 0 0 15px rgba(138, 40, 255, 0.2);
    transform: translateX(5px);
}

.sidebar-link span.icon {
    margin-right: 15px;
    font-size: 1.2rem;
    font-style: normal;
}

/* Interruptor (toggle) "Hábitos / Aprende Inglés" en el sidebar, fondo azul */
.sidebar-toggle {
    position: relative;
    display: flex;
    height: 48px;
    padding: 4px;
    border-radius: 24px;
    background: #0d6efd;
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.4);
    overflow: hidden;
}

.sidebar-toggle-thumb {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.sidebar-toggle.toggle-right .sidebar-toggle-thumb {
    transform: translateX(100%);
}

.sidebar-toggle-option {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    font-style: italic;
    font-weight: 600;
    transition: color 0.3s;
}

.sidebar-toggle-option.active-side {
    color: #fff;
}

/* =========================
   ANALYSIS / CHARTS
========================= */
.analysis-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.analysis-card {
    flex: 1 1 300px;
    background: rgba(80, 0, 120, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 25px;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.chart-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 150px;
    padding-top: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    flex: 1;
}

.chart-bar {
    width: 20px;
    min-height: 3px;
    background: linear-gradient(to top, #8a28ff, #e100ff);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 0 15px rgba(220, 100, 255, 0.4);
    transition: height 1s ease-in-out;
}

.chart-label {
    margin-top: 10px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.stat-circle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 120px;
    height: 120px;
    margin: 20px auto;
}

.stat-circle-bg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.05);
}

.stat-circle-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid transparent;
    border-top-color: #e100ff;
    border-right-color: #8a28ff;
    transform: rotate(-45deg);
    box-shadow: 0 0 15px rgba(220, 100, 255, 0.3);
}

.stat-circle-text {
    position: absolute;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    font-style: italic;
}

/* =========================
   DASHBOARD GRID & LAYOUT
========================= */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 92%;
    max-width: 1500px;
    margin: 40px auto;
    box-sizing: border-box;
}

@media(min-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: start;
    }
}

.dashboard-wrapper-wide {
    width: 95%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* =========================
   SCROLL ANIMATIONS
========================= */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* =========================
   SVG CIRCLE PROGRESS
========================= */
.stat-circle-svg {
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 8;
}

.circle-progress {
    fill: none;
    stroke: url(#circleGrad);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 377;
    stroke-dashoffset: 377;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =========================
   NOTIFICATIONS SYSTEM
========================= */
.notification-container {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 1050;
}

.notification-bell {
    background: rgba(80, 0, 120, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(183, 0, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.notification-bell:hover {
    background: rgba(138, 40, 255, 0.25);
    border-color: rgba(138, 40, 255, 0.6);
    box-shadow: 0 0 25px rgba(183, 0, 255, 0.4);
    transform: scale(1.08);
}

.notification-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 10px;
    height: 10px;
    background-color: #ff0077;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff0077, 0 0 20px #ff0077;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 5px #ff0077; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 15px #ff0077; }
    100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 5px #ff0077; }
}

.notification-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    width: 320px;
    background: rgba(40, 0, 60, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(183, 0, 255, 0.2);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1060;
}

.notification-dropdown.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.notification-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    font-style: italic;
}

.mark-all-read {
    font-size: 0.8rem;
    color: #e100ff;
    cursor: pointer;
    font-style: italic;
    transition: opacity 0.2s;
}

.mark-all-read:hover {
    opacity: 0.8;
}

.notification-list {
    max-height: 320px;
    overflow-y: auto;
}

.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-thumb {
    background: rgba(138, 40, 255, 0.3);
    border-radius: 3px;
}

.notification-item {
    padding: 15px 20px;
    display: flex;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.3s;
    cursor: pointer;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.notification-item.unread {
    background: rgba(138, 40, 255, 0.08);
}

.notification-item.unread:hover {
    background: rgba(138, 40, 255, 0.12);
}

.notification-icon {
    font-size: 1.2rem;
    color: #e100ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notification-content p {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.notification-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 576px) {
    .notification-container {
        top: 15px;
        right: 15px;
    }
    .notification-dropdown {
        position: fixed;
        top: 75px;
        right: 15px;
        left: 15px;
        width: auto;
    }
}

/* =========================
   FUTURISTIC FOOTER
========================= */
.futuristic-footer {
    width: 100%;
    background: rgba(10, 0, 20, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px 0 20px 0;
    margin-top: 80px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

/* Login footer: menos margen superior porque la página es más corta */
.login-wrapper ~ .futuristic-footer,
.futuristic-footer.footer-login {
    margin-top: 0;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.marquee-track {
    display: flex;
    overflow: hidden;
    user-select: none;
    width: 100%;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    white-space: nowrap;
    gap: 0px;
}

.marquee-content span {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 10px rgba(138, 40, 255, 0);
    transition: color 0.3s, text-shadow 0.3s;
    padding: 0 30px;
}

/* Hover effects for texts */
.marquee-content span:hover {
    color: #e100ff;
    text-shadow: 0 0 15px #e100ff, 0 0 30px #8a28ff;
}

/* Animations */
.track-ltr .marquee-content {
    animation: scrollLtr 30s linear infinite;
}

.track-rtl .marquee-content {
    animation: scrollRtl 30s linear infinite;
}

/* Pause marquee on hover */
.marquee-track:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scrollLtr {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyframes scrollRtl {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
    font-style: italic;
}
/* =========================
   EFECTO DEL MOUSE (static/js/cursor.js)
========================= */
.cursor-luz {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(185, 90, 255, 0.16) 0%, rgba(185, 90, 255, 0.06) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease, width 0.3s ease, height 0.3s ease;
    will-change: transform;
}

.cursor-luz.visible {
    opacity: 1;
}

.cursor-luz.sobre-boton {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(217, 102, 255, 0.24) 0%, rgba(217, 102, 255, 0.08) 40%, transparent 70%);
}
