/**
 * CoreDoc Solid Flat SaaS Engine - V4
 * Pure charcoal and obsidian black with minimal emerald accents. No heavy glass.
 * Author: CoreDoc Team
 * Language Rules: Strict English comments only
 */

body {
    background-color: #050505;
    overflow: hidden;
}

/* Sharp high-contrast inputs */
.glass-input {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    color: #ffffff !important;
    transition: all 0.2s ease;
}

.glass-input:focus {
    background: #0f0f0f;
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.05);
}

/* Minimal Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #1f1f1f;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #333333;
}

/* Clean Collapsed Desktop Sidebar Mode */
body.sidebar-collapsed #main-sidebar {
    width: 4.5rem !important; /* 72px */
}

/* Hide all text labels when collapsed */
body.sidebar-collapsed #main-sidebar .sidebar-text {
    display: none !important;
}

/* Hide logo completely in collapsed mode */
body.sidebar-collapsed #main-sidebar .sidebar-logo-block {
    display: none !important;
}

/* Center header toggle button when collapsed */
body.sidebar-collapsed #main-sidebar .h-14,
body.sidebar-collapsed #main-sidebar .h-16 {
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.sidebar-collapsed #collapse-icon {
    transform: rotate(180deg);
}

/* Center nav buttons & icons */
body.sidebar-collapsed #main-sidebar nav .nav-item-btn {
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Center footer status indicator dot */
body.sidebar-collapsed #main-sidebar .sidebar-status-box {
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}