:root {
    --primary: #0070f3;
    --accent: #00ffcc;
    --bg: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text: #f8fafc;
    --text-muted: rgba(248, 250, 252, 0.7);
    --input-bg: rgba(0, 0, 0, 0.2);
    --border: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    --dropdown-bg: #1e293b;
    --dropdown-text: #f8fafc;
    --dropdown-hover: rgba(255, 255, 255, 0.1);
    --accent-glow: rgba(0, 255, 204, 0.2);
    --bg-gradient: radial-gradient(circle at 10% 20%, rgba(0, 112, 243, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 204, 0.1) 0%, transparent 40%);
}

[data-theme="light"] {
    --bg: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.85);
    --text: #0f172a;
    --text-muted: #475569;
    --input-bg: #f1f5f9;
    --border: #e2e8f0;
    --glass-border: rgba(255, 255, 255, 0.4);
    --dropdown-bg: #ffffff;
    --dropdown-text: #1e293b;
    --dropdown-hover: #f1f5f9;
    --accent: #0070f3;
    --accent-glow: rgba(0, 112, 243, 0.1);
    --primary: #005bb5;
    --bg-gradient: radial-gradient(circle at 10% 20%, rgba(0, 112, 243, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 112, 243, 0.05) 0%, transparent 40%);
}

/* Theme Toggle Button */
.theme-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg);
}

[data-theme="light"] .theme-btn {
    border-color: rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

[data-theme="light"] .theme-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.sun-icon,
.moon-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Default state: Moon is hidden in Dark Mode (Wait, icons are Sun/Moon)
   If we are ACTIVE Dark Mode (default), we show Sun to switch to Light.
   If we are ACTIVE Light Mode, we show Moon to switch to Dark.
   LET'S FOLLOW THIS LOGIC: Icon = WHAT YOU GET if you click.
*/

/* Default (Dark): Show SUN */
.sun-icon {
    display: block !important;
}

.moon-icon {
    display: none !important;
}

/* Light Mode: Show MOON */
[data-theme="light"] .sun-icon {
    display: none !important;
}

[data-theme="light"] .moon-icon {
    display: block !important;
}

/* Navbar Styles */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 16px 16px !important;
    background: var(--card-bg);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.nav-logo span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 2rem;
    padding-left: 2rem;
    border-left: 1px solid var(--border);
    font-size: 0.85rem;
}

.logout-link {
    color: #fb7185 !important;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-toggle {
    cursor: pointer;
    position: relative;
    z-index: 1002;
    /* Ensure text is above the bridge if needed */
    height: 100%;
    display: flex;
    align-items: center;
}

/* Premium Dropdown Animation */
@keyframes menuSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    /* Variable Background */
    background: var(--dropdown-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem 0;
    margin-top: 5px;
    min-width: 260px;
    /* Wider for elegance */
    list-style: none !important;
    z-index: 9999;
    /* Rich Shadow */
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
    /* Inner stroke */
    transform-origin: top left;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* Dropdown Hover Support (Desktop) */
@media (min-width: 969px) {

    /* MASSIVE invisible bridge to catch mouse - ensures stable connection to menu */
    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -30px;
        left: -20px;
        right: -20px;
        height: 40px;
        background: transparent;
        display: block;
        z-index: -1;
    }
}

/* Visibility Control */
.dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    animation: menuSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dropdown-menu li {
    margin: 0 !important;
    padding: 0 0.5rem !important;
    /* Items have padding for the pill look */
    list-style: none !important;
    display: block !important;
}

.dropdown-menu li::before {
    content: none !important;
}

.dropdown-menu a {
    display: block;
    padding: 0.85rem 1.25rem !important;
    color: var(--dropdown-text) !important;
    /* Adaptive Text */
    text-decoration: none;
    transition: all 0.25s ease;
    border-bottom: none !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-align: left;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* Hover Effect for Items */
.dropdown-menu a:hover {
    background: var(--dropdown-hover);
    color: var(--accent) !important;
    padding-left: 1.5rem !important;
}

/* Active State for Items */
.dropdown-menu a.active {
    background: var(--accent-glow);
    color: var(--accent) !important;
    font-weight: 700 !important;
    border-left: 4px solid var(--primary);
    border-radius: 4px 8px 8px 4px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

@media (max-width: 968px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--dropdown-bg);
        backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.25rem;
        transform: translateY(-150%);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        align-items: flex-start;
        /* Left aligned */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu.show {
        transform: translateY(0);
    }

    .nav-menu a {
        color: var(--dropdown-text) !important;
        /* Dark text for mobile */
        width: 100%;
        text-align: left;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        /* Stack in mobile */
        width: 100%;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        margin-top: 0;
        visibility: visible;
        opacity: 1;
        display: none;
        /* Controlled by .show */
        background: var(--bg);
        /* Slightly off-white for contrast */
    }

    .dropdown-menu.show {
        display: block;
        animation: none;
    }

    .nav-user {
        margin: 0;
        padding: 1.5rem 0 0 0;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
        justify-content: flex-start;
        color: #1e293b;
    }

    .mobile-toggle span {
        background: #ffffff;
        /* Explicit white for visibility on dark navbar */
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    background-image: var(--bg-gradient);
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.accent {
    color: var(--accent);
}

.project-selector {
    margin-bottom: 2rem;
}

.project-header {
    margin-bottom: 1rem;
}

.project-controls {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.project-input-group {
    display: flex;
    gap: 0.5rem;
}

.project-input-group input {
    flex: 1;
}

.btn-load {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent), #00d4aa);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    white-space: nowrap;
}

.btn-load:hover {
    transform: translateY(-2px);
}

.calculations-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.save-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-save {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    font-size: 1rem;
}

.btn-save:hover {
    transform: translateY(-2px);
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.book-container {
    display: flex;
    margin: 20px auto;
    max-width: 1400px;
    min-height: 85vh;
    gap: 0;
}

.book-page {
    flex: 1;
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    padding: 35px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: all 0.3s ease;
}

.page-left {
    border-radius: 20px 0 0 20px;
    border-right: 2px solid rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.page-left::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 25px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.2), transparent);
    pointer-events: none;
}

.page-right {
    border-radius: 0 20px 20px 0;
    overflow-y: auto;
}

.page-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 25px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2), transparent);
    pointer-events: none;
}

/* --- PREMIUM PROJECT ARCHIVE STYLES --- */
.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 5px;
    margin-top: 10px;
}

/* Custom Scrollbar for sidebars */
.sidebar-list::-webkit-scrollbar {
    width: 6px;
}

.sidebar-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.sidebar-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.sidebar-list::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.archive-search-container {
    padding: 0 0 15px 0;
    margin-bottom: 5px;
    position: sticky;
    top: 0;
    z-index: 10;
    background: transparent;
}

.archive-search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 15px 12px 42px;
    color: var(--text);
    font-size: 0.95rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 15px center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
}

.archive-search-input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.1);
}

.project-item {
    position: relative;
    padding: 16px 20px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    margin-bottom: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    cursor: pointer;
    flex-direction: row !important;
}

[data-theme="light"] .project-item {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.project-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    background: var(--accent);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(0, 255, 204, 0.2) !important;
    transform: translateX(5px);
}

.project-item.active {
    background: rgba(10, 132, 255, 0.1) !important;
    border-color: rgba(10, 132, 255, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.project-item.active::before {
    opacity: 1;
}

.project-item-icon {
    width: 48px;
    height: 48px;
    background: var(--input-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.project-item:hover .project-item-icon {
    background: var(--accent);
    color: #000;
    transform: rotate(-5deg) scale(1.1);
}

.project-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
    padding-top: 2px;
}

.project-item-info .name {
    display: block !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    color: var(--text) !important;
    margin-bottom: 0 !important;
    white-space: normal !important;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.project-item:hover .name,
.project-item.active .name {
    color: var(--accent) !important;
}

.project-item-info .meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.95rem !important;
    color: var(--text-muted) !important;
    opacity: 0.9 !important;
}

.project-item:hover .meta {
    color: rgba(255, 255, 255, 0.6) !important;
}

.loading-text {
    text-align: center;
    padding: 1rem;
    font-style: italic;
    opacity: 0.5;
    font-size: 0.85rem;
}

h2 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--accent);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    opacity: 1;
}

.input-with-number {
    display: flex;
    gap: 0.5rem;
}

.input-with-number select {
    flex: 2;
}

.input-with-number input[type="number"] {
    flex: 1;
    min-width: 60px;
}

select,
input {
    width: 100%;
    padding: 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--input-bg);
    color: var(--text);
    font-family: inherit;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

select option {
    background-color: var(--dropdown-bg);
    color: var(--dropdown-text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), #00a3ff);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.results-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.actions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-secondary {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.result-card {
    margin-bottom: 1rem;
    padding: 1.5rem;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.result-grid span {
    opacity: 0.6;
    margin-right: 0.5rem;
}

.visual-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

#polar-scheme {
    width: 100%;
    height: auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    opacity: 0.5;
}

.scheme-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.scheme-container h4 {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.scheme-container canvas {
    width: 100%;
    height: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    display: block;
}

@media print {
    * {
        color: black !important;
        border-color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        background: white !important;
        color: black !important;
        margin: 0;
        padding: 0;
    }

    /* canvas {
        display: none !important;
    } */

    #print-chart-image {
        display: block !important;
        margin: 2rem auto !important;
        border: 1px solid #000 !important;
    }

    /* Hide sidebar, form, buttons, and navbar */
    .sidebar,
    .nav-dropdown,
    .btn-primary,
    .btn-secondary,
    header,
    .form-section,
    .sidebar-toggle {
        display: none !important;
    }

    .visual-panel {
        border: none !important;
        background: white !important;
        color: black !important;
        padding: 0 !important;
    }

    /* Results and Summary */
    .results-panel {
        grid-template-columns: repeat(2, 1fr) !important;
        /* Changed to 2 for better fit with summary */
        margin-top: 1rem !important;
        display: grid !important;
        gap: 0.5rem !important;
    }

    .result-item {
        background: #fff !important;
        border: 1px solid #000 !important;
        color: black !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 0.5rem 1rem !important;
        border-radius: 0 !important;
    }

    .result-label {
        font-weight: normal !important;
        opacity: 1 !important;
    }

    .result-value {
        color: #000 !important;
        font-weight: bold !important;
    }

    /* Premium Project Report Styles */
    .print-report-grid {
        display: block !important;
        /* Switch to block but cards will float/inline-block if needed, or just stay as is */
        width: 100%;
    }

    #multi-print-report-container {
        background: #0f172a !important;
        color: #ffffff !important;
        /* Total background for the print report */
        padding: 40px !important;
        min-height: 100vh;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        display: block !important;
    }

    /* Target the grid container specifically to allow 2 columns on A4 */
    #multi-print-report-container .print-report-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .print-report-section {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        margin-bottom: 30px !important;
        border: 1px solid rgba(45, 212, 191, 0.2) !important;
        background: transparent !important;
        box-sizing: border-box !important;
        border-radius: 12px !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .print-table th {
        background: #f8fafc !important;
        font-weight: bold !important;
    }

    .print-table td,
    .print-table th {
        border: 1px solid #000 !important;
    }

    /* Hide standard UI components */
    .results-panel,
    .visual-panel h2,
    .visual-panel p:last-child {
        display: none !important;
    }

    /* Ensure specific items are hidden so we only see the premium report */
    #print-chart-image {
        display: none !important;
    }

    canvas {
        display: none !important;
    }

    /* .visual-panel {
        display: none !important;
    } */

    /* Professional Typography for Print */
    h1,
    h2,
    h3 {
        page-break-after: avoid !important;
    }

    p,
    table {
        page-break-inside: avoid !important;
    }
}

.footer-table {
    border-collapse: collapse !important;
    width: 450px !important;
    border: 2px solid black !important;
}

.print-footer {
    display: none;
}

.print-only {
    display: none;
}

@media (max-width: 968px) {
    .book-layout {
        grid-template-columns: 1fr;
    }

    .project-controls {
        flex-direction: column;
        align-items: stretch;
    }
}

.btn-delete {
    margin-top: 1rem;
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: #fb7185;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Sidebar Card Styles */
.sidebar-title {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
    color: var(--text);
}

.sidebar-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.sidebar-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    background: var(--accent);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 255, 204, 0.2);
    transform: translateX(5px);
}

.sidebar-card.active {
    background: rgba(10, 132, 255, 0.1);
    border-color: rgba(10, 132, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.sidebar-card.active::before {
    opacity: 1;
}

.sidebar-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 4px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.sidebar-card:hover h3,
.sidebar-card.active h3 {
    color: var(--accent);
}

.sidebar-card p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sidebar-card:hover p {
    color: rgba(255, 255, 255, 0.6);
}

.sidebar-card p .dot {
    width: 4px;
    height: 4px;
    background: #475569;
    border-radius: 50%;
    display: inline-block;
}