:root {
    --bg-dark: #050505;
    --bg-card: #0a0a0a;
    --primary: #00f3ff;
    --secondary: #bc13fe;
    --text-main: #ffffff;
    --text-muted: #8892b0;
    --font-main: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Cursor Glow Effect */
.cursor-glow {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.15), transparent 70%);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* System Top Bar */
.system-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background: #020202;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #64748b;
}

/* ... (other styles) ... */

/* Header */
.lab-header {
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 32px; /* Adjusted for top bar */
    z-index: 100;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    /* Removed heavy shadow and gradient line for minimalism */
}

.lab-header::after {
    display: none; /* Removed the gradient line */
}

.lab-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
    position: relative;
    text-decoration: none;
    color: var(--text-main);
}

.logo i {
    color: var(--primary);
    font-size: 1.1rem;
    filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.3));
}

.logo span {
    font-family: var(--font-mono);
}

.logo .highlight {
    color: var(--primary);
}

/* Minimalist Nav Links */
nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.back-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-mono);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 6px;
}

/* Removed the side bar effect */
.back-link::before {
    display: none;
}

.back-link:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    padding-left: 12px; /* Prevent movement */
    box-shadow: none;
    border: none;
}

.back-link i {
    font-size: 0.8rem;
    color: #64748b;
    transition: color 0.2s;
}

.back-link:hover i {
    color: var(--primary);
}

/* Special style for Login button to make it pop slightly but stay minimal */
#nav-login-btn {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

#nav-login-btn:hover {
    border-color: var(--primary);
    background: rgba(0, 243, 255, 0.05);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.grid-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-section .content {
    flex: 1;
    z-index: 2;
    padding-right: 2rem;
    padding-left: 4rem; /* Added left padding for better spacing */
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    margin-bottom: 1.5rem;
}

.badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 1.5s infinite;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.glitch {
    position: relative;
    color: var(--text-main);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-neon {
    padding: 12px 30px;
    background: var(--primary);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    transition: 0.3s;
    font-family: var(--font-mono);
    border: none;
    cursor: pointer;
}

.btn-neon:hover {
    background: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    padding: 12px 30px;
    background: transparent;
    color: var(--text-main);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: 0.3s;
    font-family: var(--font-mono);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 243, 255, 0.05);
}

.visual-container {
    flex: 1;
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#neural-network {
    width: 100%;
    height: 100%;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, var(--bg-dark), #080808);
}

.stats-section .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    width: 250px;
    transition: 0.3s;
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.stat-card h3 {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-mono);
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    white-space: nowrap;
}

.section-header .mono {
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 1.5rem;
    margin-right: 10px;
}

.section-header .line {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    height: 400px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.project-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.card-front i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card-front h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-front p {
    color: var(--text-muted);
}

.card-back {
    background: #111;
    transform: rotateY(180deg);
    border: 1px solid var(--primary);
    border-radius: 8px;
}

.card-back ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.card-back li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.card-back li i {
    color: var(--primary);
    margin-right: 10px;
}

.btn-small {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 2px;
}

/* Terminal Section */
.terminal-section {
    padding: 4rem 0;
    background: #000;
}

.terminal-window {
    background: #1e1e1e;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.terminal-header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-header .title {
    margin-left: 10px;
    color: #999;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.terminal-body {
    padding: 20px;
    font-family: var(--font-mono);
    color: #fff;
    min-height: 200px;
}

.prompt {
    color: var(--primary);
    margin-right: 10px;
}

.cursor {
    animation: blink 1s infinite;
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 243, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes glitch-anim {
    0% { clip: rect(24px, 9999px, 92px, 0); }
    20% { clip: rect(65px, 9999px, 3px, 0); }
    40% { clip: rect(82px, 9999px, 12px, 0); }
    60% { clip: rect(10px, 9999px, 55px, 0); }
    80% { clip: rect(95px, 9999px, 33px, 0); }
    100% { clip: rect(5px, 9999px, 81px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(12px, 9999px, 55px, 0); }
    20% { clip: rect(85px, 9999px, 15px, 0); }
    40% { clip: rect(32px, 9999px, 72px, 0); }
    60% { clip: rect(60px, 9999px, 5px, 0); }
    80% { clip: rect(15px, 9999px, 93px, 0); }
    100% { clip: rect(45px, 9999px, 21px, 0); }
}

/* Monitor Section */
.monitor-section {
    padding: 120px 0 4rem; /* Added top padding for fixed header */
}

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

.monitor-header h2 {
    font-size: 2rem;
}

.monitor-header .mono {
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 1.2rem;
    margin-right: 10px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    color: #00ff41;
    font-size: 0.9rem;
    background: rgba(0, 255, 65, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 65, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff41;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff41;
    animation: blink 2s infinite;
}

.monitor-desc {
    margin-bottom: 3rem;
    padding: 15px;
    border-left: 3px solid var(--primary);
    background: linear-gradient(90deg, rgba(0, 243, 255, 0.05), transparent);
}

.monitor-desc p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.monitor-desc i {
    color: var(--primary);
    margin-right: 10px;
}

.monitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.monitor-card {
    background: #080808;
    border: 1px solid #222;
    border-radius: 6px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.monitor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0.5;
}

.monitor-card.wide {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .monitor-card.wide {
        grid-column: span 1;
    }
}

.monitor-title {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

/* CPU Chart */
.chart-container {
    height: 100px;
    display: flex;
    align-items: flex-end;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    width: 100%;
    height: 100%;
}

.bar {
    flex: 1;
    background: var(--primary);
    opacity: 0.6;
    transition: height 0.5s ease;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.monitor-value {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--text-main);
}

/* RAM Chart */
.circle-chart {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.circle-chart svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: #222;
    stroke-width: 2.5;
}

.circle-fill {
    fill: none;
    stroke: var(--secondary);
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s ease;
    filter: drop-shadow(0 0 5px var(--secondary));
}

.circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Log Terminal */
.log-terminal {
    height: 120px;
    overflow-y: hidden;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #aaa;
}

.log-line {
    margin-bottom: 5px;
    border-bottom: 1px solid #111;
    padding-bottom: 2px;
    animation: fadeIn 0.3s forwards;
}

.log-line .time {
    color: #555;
    margin-right: 10px;
}

.log-line .cmd {
    color: var(--primary);
    margin-right: 5px;
}

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

/* Footer */
footer {
    background: #020202;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #111;
    color: var(--text-muted);
}

/* Mystery Banner */
.mystery-banner {
    background: var(--primary);
    color: #000;
    padding: 10px 0;
    overflow: hidden;
    font-family: var(--font-mono);
    font-weight: 700;
}

.marquee-container {
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

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

/* Intro Popup */
.intro-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s ease;
}

.intro-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.intro-popup-card {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--primary);
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.2);
    width: 90%;
    max-width: 600px;
    padding: 2.5rem;
    border-radius: 12px;
    position: relative;
    transform: scale(0.8) translateY(20px);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.intro-popup-overlay.active .intro-popup-card {
    transform: scale(1) translateY(0);
}

.intro-popup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary));
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.popup-header {
    text-align: center;
    margin-bottom: 2rem;
}

.popup-header i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.5));
}

.popup-header h3 {
    font-size: 2rem;
    font-family: var(--font-main);
    letter-spacing: 2px;
}

.popup-content {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2.5rem;
}

.highlight-text {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.feature-list li i {
    color: var(--secondary);
}

.popup-footer {
    display: flex;
    justify-content: center;
}

.popup-footer .btn-neon {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
/* Header Pulse Effect */
.header-pulse {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--secondary);
    border-radius: 50%;
    margin-left: 15px;
    vertical-align: middle;
    box-shadow: 0 0 0 rgba(188, 19, 254, 0.4);
    animation: headerPulse 2s infinite;
}

@keyframes headerPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(188, 19, 254, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(188, 19, 254, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(188, 19, 254, 0);
    }
}

/* Community / Dashboard Section */
.community-section {
    padding: 6rem 0;
    background: #000;
}

.dashboard-wrapper {
    display: grid;
    grid-template-columns: 240px 1fr 280px;
    gap: 2rem;
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 1.5rem;
    height: 600px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.05);
}

/* Sidebar */
.dash-sidebar {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #222;
    padding-right: 1.5rem;
}

.user-profile-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #222;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-mono);
}

.user-info .name {
    display: block;
    font-weight: 600;
    color: #fff;
}

.user-info .role {
    font-size: 0.8rem;
    color: #888;
}

.dash-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    color: #888;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.dash-nav a:hover, .dash-nav a.active {
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary);
}

/* Main Content */
.dash-content {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
}

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

.content-header h3 {
    font-size: 1.2rem;
    color: #fff;
}

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.topic-card {
    display: flex;
    gap: 15px;
    background: #111;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #222;
    transition: all 0.3s ease;
    cursor: pointer;
}

.topic-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.topic-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.topic-icon.color-1 { background: rgba(0, 243, 255, 0.1); color: var(--primary); }
.topic-icon.color-2 { background: rgba(188, 19, 254, 0.1); color: var(--secondary); }
.topic-icon.color-3 { background: rgba(255, 189, 46, 0.1); color: #ffbd2e; }

.topic-details h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1rem;
}

.topic-details p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.topic-meta {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
}

.topic-meta .tag {
    background: #222;
    padding: 2px 8px;
    border-radius: 4px;
    color: #aaa;
}

.topic-meta .time {
    color: #666;
}

/* Right Widgets */
.dash-widgets {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-left: 1px solid #222;
    padding-left: 1.5rem;
}

.widget-card {
    background: #111;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #222;
}

.widget-card h4 {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-item {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    align-items: center;
}

.date-box {
    background: #222;
    padding: 5px 8px;
    border-radius: 6px;
    text-align: center;
    min-width: 45px;
}

.date-box .day {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
}

.date-box .month {
    display: block;
    font-size: 0.6rem;
    color: #888;
}

.event-info span {
    display: block;
    color: #ddd;
    font-size: 0.9rem;
}

.event-info small {
    color: #666;
    font-size: 0.8rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #888;
}

.stat-row .val {
    color: #fff;
    font-weight: bold;
}

.stat-chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 60px;
    margin-top: 1rem;
}

.stat-bar {
    flex: 1;
    background: #222;
    border-radius: 2px;
}

.stat-bar.active {
    background: var(--secondary);
}

/* Responsive Dashboard */
@media (max-width: 992px) {
    .dashboard-wrapper {
        grid-template-columns: 80px 1fr;
    }
    .dash-widgets {
        display: none;
    }
    .user-info, .dash-nav a span {
        display: none;
    }
    .dash-nav a {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .dashboard-wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }
    .dash-sidebar {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid #222;
        padding-right: 0;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        justify-content: space-between;
    }
    .dash-nav {
        display: flex;
        gap: 10px;
    }
    .user-profile-mini {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .user-info {
        display: block;
    }
}
