:root {
    --bg-dark: #050505;
    --bg-secondary: #0c0d15;
    --card-bg: rgba(26, 26, 26, 0.4);
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --yellow-cta: #fdd835;
    --blue-ia: #4facfe;
    --purple-ia: #764ba2;
    --orange-ia: #f5a623;
    --sidebar-width: 260px;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px);
    --premium-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body.light-theme {
    --bg-dark: #f8fafc;
    --bg-secondary: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(203, 213, 225, 0.5);
    --premium-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

#active-course-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#active-course-name span {
    transition: color 0.3s ease;
}

#active-course-name span:hover {
    color: var(--blue-ia);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
}

.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    padding: 2rem 1.25rem;
    position: relative;
    z-index: 10;
    backdrop-filter: var(--glass-blur);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

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

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.sidebar:hover::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
}

.sidebar-header {
    margin-bottom: 3rem;
}

.main-logo {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(74, 144, 226, 0.3));
}

.sidebar-nav {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transform: translateX(5px);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--blue-ia), var(--purple-ia));
    color: white;
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.nav-item .icon {
    font-size: 1.2rem;
}

.sidebar-footer {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--blue-ia);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.header-logo-mobile {
    display: none;
}

.mobile-logo-img {
    height: 32px;
    width: auto;
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    padding: 2.5rem;
    overflow-y: auto;
    background: radial-gradient(circle at top right, rgba(142, 68, 173, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(74, 144, 226, 0.05), transparent 40%);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.greeting h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, var(--blue-ia), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.greeting p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-badge {
    background: var(--card-bg);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--glass-border);
}

.exp .stat-value {
    font-weight: 700;
    color: var(--yellow-cta);
}

.settings-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.settings-btn:hover {
    transform: rotate(45deg);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: var(--glass-blur);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--premium-shadow);
    border-color: rgba(79, 172, 254, 0.4);
}

.course-card-premium {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    padding: 0;
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Prevents grid blowout */
    width: 100%;
}

.course-card-premium:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--blue-ia);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.course-card-premium .course-image-container {
    aspect-ratio: 16/10;
    width: 100%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    height: 220px;
    max-height: 220px;
    min-height: 220px;
}

.course-card-premium .course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.course-card-premium:hover .course-image {
    transform: scale(1.1);
}

.course-card-premium .course-progress-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue-ia);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-card {
    grid-column: 1 / 2;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(142, 68, 173, 0.1));
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--blue-ia);
    filter: blur(100px);
    opacity: 0.1;
}

.welcome-content {
    max-width: 60%;
    z-index: 1;
}

.welcome-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.welcome-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    background: var(--yellow-cta);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #fff;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(253, 216, 53, 0.3);
}

.welcome-visual .lisa-mascot {
    width: 180px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(253, 216, 53, 0.2));
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.progress-card h3,
.lessons-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.progress-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin: 1rem 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--blue-ia), var(--purple-ia));
    border-radius: 4px;
}

.stat-percent {
    font-weight: 700;
    font-size: 1.1rem;
}

.achievements-preview h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 2rem 0 1rem;
}

.achievement-icons {
    display: flex;
    gap: 1rem;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.badge-icon.locked {
    filter: grayscale(1);
    opacity: 0.3;
}

/* Lesson List Styles */
.lesson-list {
    list-style: none;
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.3s ease;
}

.lesson-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.lesson-info {
    display: flex;
    flex-direction: column;
}

.lesson-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.lesson-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Chat Panel Styling */
.chat-panel {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 380px;
    height: 500px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.chat-header {
    padding: 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, rgba(74, 144, 226, 0.1), rgba(142, 68, 173, 0.1));
    border-radius: 24px 24px 0 0;
}

.lisa-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.lisa-avatar-sm {
    width: 32px;
    height: 32px;
    background: var(--blue-ia);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lisa-name-status {
    display: flex;
    flex-direction: column;
}

.lisa-name-status .name {
    font-weight: 700;
    font-size: 0.9rem;
}

.lisa-name-status .status {
    font-size: 0.7rem;
    color: #25D366;
}

.chat-messages {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    padding: 0.8rem 1.2rem;
    border-radius: 18px;
    font-size: 0.9rem;
    max-width: 85%;
    line-height: 1.4;
}

.message.bot {
    background: #252525;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.user {
    background: var(--blue-ia);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-input-area {
    padding: 1.2rem;
    display: flex;
    gap: 0.8rem;
    border-top: 1px solid var(--glass-border);
}

.chat-input-area input {
    flex-grow: 1;
    background: #252525;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    color: white;
    outline: none;
}

.chat-input-area button {
    background: var(--blue-ia);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chat-input-area button:hover {
    transform: scale(1.1);
}

.close-chat {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive adjustments */
/* Auth Overlay Styles */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.auth-card {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    width: 100%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.auth-logo {
    width: 120px;
    margin-bottom: 2rem;
}

.auth-card h2 {
    margin-bottom: 2rem;
    font-weight: 800;
}

.auth-card input {
    width: 100%;
    background: #252525;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    margin-bottom: 1rem;
    outline: none;
}

.auth-card .cta-button {
    width: 100%;
    margin: 1.5rem 0;
}

.auth-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-card a {
    color: var(--blue-ia);
    text-decoration: none;
    font-weight: 600;
}

/* Form Styles */
.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.input-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.upload-form input[type="text"],
.upload-form textarea {
    background: #252525;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    outline: none;
}

.upload-form textarea {
    height: 100px;
    resize: none;
}

.logout-link {
    background: none;
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: rgba(220, 53, 69, 0.7);
    padding: 0.35rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    text-align: center;
    width: fit-content;
    display: inline-block;
}

.logout-link:hover {
    border-color: #dc3545;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

/* 🏁 PLATFORM FOOTER */
.platform-footer {
    margin-top: 5rem;
    padding: 3rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 24px 24px 0 0;
    width: 100%;
    box-sizing: border-box;
}

.footer-logo {
    height: 40px !important;
    width: auto !important;
    display: block;
    margin: 0 auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.whatsapp-btn {
    text-decoration: none;
    color: #25d366;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 50px;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25d366;
}

.footer-logout {
    margin: 0 !important;
    white-space: nowrap;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    text-align: center;
}

/* 📱 RESPONSIVE DESIGN - STABLE & SIMPLE */
@media (max-width: 768px) {
    body, html {
        overflow: auto !important;
        height: auto !important;
    }

    .app-container {
        height: auto !important;
        min-height: 100vh;
        flex-direction: column;
        overflow: visible !important;
    }

    .sidebar {
        width: 100% !important;
        height: auto !important;
        padding: 1.5rem 1rem !important;
        position: relative !important;
        border-right: none !important;
        border-bottom: 1px solid var(--glass-border) !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-radius: 0 !important;
    }

    .main-logo {
        width: 120px !important;
    }

    .sidebar-nav {
        display: none !important;
    }

    .sidebar-footer {
        display: flex !important;
        padding: 0 !important;
        border: none !important;
    }

    .main-content {
        padding: 2rem 1rem !important;
        overflow-y: visible !important;
        flex-grow: 1;
    }

    .content-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 2rem !important;
        gap: 1rem !important;
        position: relative !important;
        height: auto !important;
        background: none !important;
        backdrop-filter: none !important;
        border: none !important;
    }

    .greeting h1 {
        font-size: 2rem !important;
    }
    
    /* Specifically hide overlapping breadcrumb title on mobile */
    #active-course-name, #course-breadcrumb {
        display: none !important;
    }

    .header-actions {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .stat-badge {
        width: 100% !important;
        justify-content: center !important;
    }

    .dashboard-grid, #courses-list {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .welcome-card {
        flex-direction: column-reverse !important;
        text-align: center !important;
        padding: 1.5rem !important;
    }

    .chat-panel {
        width: 95% !important;
        right: 2.5% !important;
        bottom: 1rem !important;
        height: 60vh !important;
    }
    
    .header-logo-mobile {
        display: none !important;
    }
}




/* Fix mobile chat interface */
@media (max-width: 480px) {
    .chat-panel {
        width: 100%;
        height: 100vh;
        bottom: 0;
        right: 0;
        border-radius: 0;
        z-index: 2000;
    }

    .chat-header {
        border-radius: 0;
    }

    .ob-card {
        width: 100%;
        max-width: 95%;
        padding: 1.5rem;
        margin: 1rem auto;
    }
}

/* ── Roadmap / Learning Path Styles (Duolingo Style) ── */
.roadmap-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0 5rem;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    z-index: 0;
}

.roadmap-node {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 6px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.roadmap-node:hover {
    transform: scale(1.15);
    border-color: var(--blue-ia);
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.4);
}

.roadmap-node.completed {
    border-color: #4ade80;
    background: linear-gradient(135deg, #1e293b, #064e3b);
}

.roadmap-node.active {
    border-color: var(--blue-ia);
    animation: pulse-node 2s infinite;
}

.roadmap-node.pending {
    filter: grayscale(0.8);
    opacity: 0.7;
    border-color: rgba(255,255,255,0.2);
}

.roadmap-node .node-label {
    position: absolute;
    left: 110%;
    width: 200px;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.roadmap-node:nth-child(even) .node-label {
    left: auto;
    right: 110%;
    text-align: right;
}

.roadmap-node .node-order {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: var(--blue-ia);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulse-node {
    0% { box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(79, 172, 254, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 172, 254, 0); }
}

/* Completion Button */
.complete-lesson-btn {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    font-weight: 800;
    border: none;
    padding: 1.2rem;
    border-radius: 16px;
    width: 100%;
    margin-top: 1.5rem;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.complete-lesson-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

/* Streak / Notification Styles */
.lisa-handheld-msg {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
    box-shadow: var(--premium-shadow);
    animation: slideInBottom 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideInBottom {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/* ── LIVE BADGE & PULSE ── */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: 0 0 15px rgba(255, 75, 43, 0.4);
}

@keyframes pulse-live {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 75, 43, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 75, 43, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 75, 43, 0); }
}

@keyframes pulse-node {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.1); filter: brightness(1.2); }
    100% { transform: scale(1); filter: brightness(1); }
}

.table-container::-webkit-scrollbar {
    height: 6px;
}
.table-container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

/* 🛡️ ROBUSTNESS & ANIMATIONS */
@keyframes pulse-logo {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes loader-slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.fade-out {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.5s ease-out !important;
}
