/* custom_fixes.css - Resolution for margins and overlapping elements */

/* 1. Global Navbar Spacing */
nav ul li {
    margin: 0 12px !important; /* Reduced from 40px to resolve desktop crowding */
}

/* 2. Dashboard Modal Isolation */
.dashboard-modal {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    z-index: 999999 !important;
}

/* 3. Internal Dashboard Spacing */
.dashboard-sidebar {
    padding-top: 25px !important; /* Prevents first item from hugging top edge */
}

.dashboard-content-area {
    padding: 30px 25px !important; /* Added more vertical breathing room */
}

/* 4. Desktop Button Margins */
.user-info.desktop-only {
    margin-right: 20px !important;
}

#register-btn.desktop-only {
    margin-right: 15px !important;
}

/* 5. Mobile Adjustments */
@media (max-width: 992px) {
    nav ul li {
        margin: 10px 0 !important;
    }
    .dashboard-content-area {
        padding: 20px 15px !important;
}

/* 6. Premium Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: rgba(44, 164, 191, 0.6);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(44, 164, 191, 1);
}
::-webkit-scrollbar-corner {
    background: transparent;
}
