/* Envera Consulting - Timekeeping & Billing
   Design System Stylesheet
*/

/* === CSS Reset & Variables === */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root {
    /* Brand Colors */
    --envera-green: #76A642;
    --envera-green-dark: #5e8c32;
    --envera-green-light: #8ab856;
    --envera-green-dim: rgba(118,166,66,0.12);
    --envera-green-subtle: rgba(118,166,66,0.06);
    
    /* Background */
    --bg: #f6f7f5;
    --surface: #ffffff;
    --surface2: #f0f2ed;
    
    /* Borders */
    --border: #dde0d6;
    --border-light: #c8ccbf;
    
    /* Text */
    --text: #1e2a1a;
    --text-dim: #5a6555;
    --text-muted: #8a9484;
    
    /* Semantic colors */
    --green: var(--envera-green);
    --green-dim: var(--envera-green-dim);
    --orange: #d4873a;
    --orange-dim: rgba(212,135,58,0.12);
    --red: #c4483e;
    --red-dim: rgba(196,72,62,0.10);
    --yellow: #b89b2a;
    --yellow-dim: rgba(184,155,42,0.10);
    --blue: #3b82f6;
    --blue-dim: rgba(59,130,246,0.10);
    
    /* Sizing */
    --radius: 8px;
    --radius-lg: 12px;
    
    /* Typography */
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'DM Mono', 'SF Mono', monospace;
}

/* === Base Styles === */
html { font-size: 15px; }

body {
    font-family: var(--font-display);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
}

/* === App Layout === */
.app {
    display: flex;
    min-height: 100vh;
}

/* === Sidebar === */
.sidebar {
    width: 240px;
    background: #1e2a1a;
    border-right: 1px solid #2a3a24;
    padding: 28px 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 10;
}

.logo {
    padding: 0 24px 20px;
    border-bottom: 1px solid rgba(118,166,66,0.2);
    margin-bottom: 8px;
}

.logo img {
    height: 28px;
    margin-bottom: 6px;
    display: block;
}

.logo span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav {
    flex: 1;
    padding: 8px 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    transition: all 0.15s;
    margin-bottom: 2px;
    border: 1px solid transparent;
    text-decoration: none;
}

.nav-item:hover {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
}

.nav-item.active {
    background: rgba(118,166,66,0.18);
    color: var(--envera-green-light);
    border-color: rgba(118,166,66,0.25);
    font-weight: 500;
}

.nav-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(118,166,66,0.2);
}

.increment-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
}

.increment-toggle label { white-space: nowrap; }

.toggle-btns { display: flex; }

.toggle-btn {
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: all 0.15s;
}

.toggle-btn:first-child { border-radius: 4px 0 0 4px; }
.toggle-btn:last-child { border-radius: 0 4px 4px 0; }

.toggle-btn.active {
    background: var(--envera-green);
    color: #fff;
    border-color: var(--envera-green);
    font-weight: 500;
}

/* User bar in sidebar */
.user-bar {
    padding: 12px 24px;
    border-top: 1px solid rgba(118,166,66,0.2);
    position: relative;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
}

.user-avatar.admin { background: var(--envera-green); }
.user-avatar.user { background: rgba(255,255,255,0.15); }

.user-name {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
}

.user-role {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.user-menu {
    position: absolute;
    bottom: 100%;
    left: 12px;
    right: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    overflow: hidden;
    margin-bottom: 8px;
}

.user-menu-item {
    display: block;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text);
    text-decoration: none;
    transition: background 0.1s;
}

.user-menu-item:hover {
    background: var(--surface2);
}

/* === Main Content === */
.main {
    flex: 1;
    margin-left: 240px;
    padding: 36px 44px;
    max-width: 1200px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-header p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 4px;
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface2);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}

.btn:hover {
    border-color: var(--border-light);
    background: var(--border);
}

.btn-primary {
    background: var(--envera-green);
    color: #fff;
    border-color: var(--envera-green);
}

.btn-primary:hover {
    background: var(--envera-green-dark);
    border-color: var(--envera-green-dark);
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.78rem;
}

.btn-danger {
    color: var(--red);
}

.btn-danger:hover {
    background: var(--red-dim);
    border-color: var(--red);
}

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--text-dim);
    padding: 5px 8px;
}

.btn-ghost:hover {
    color: var(--text);
    background: var(--surface2);
}

.btn-outline-green {
    border-color: var(--envera-green);
    color: var(--envera-green-dark);
    background: var(--envera-green-subtle);
}

.btn-outline-green:hover {
    background: var(--envera-green-dim);
}

.btn-blue {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-dim);
}

.btn-blue:hover {
    background: rgba(59,130,246,0.18);
}

/* === Cards === */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card + .card { margin-top: 20px; }

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.92rem;
}

/* === Tables === */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 11px 20px;
    text-align: left;
    font-size: 0.85rem;
}

th {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    background: var(--surface2);
}

tr:not(:last-child) td {
    border-bottom: 1px solid rgba(221,224,214,0.7);
}

tr:hover td {
    background: var(--envera-green-subtle);
}

/* === Forms === */
.form-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 140px;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.form-group label .req { color: var(--red); }

input, select, textarea {
    padding: 9px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.15s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--envera-green);
    box-shadow: 0 0 0 3px var(--envera-green-dim);
}

select { cursor: pointer; }
textarea { resize: vertical; font-family: var(--font-display); }

.input-error {
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px var(--red-dim) !important;
}

/* === Modals === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30,42,26,0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: fadeIn 0.15s;
}

.modal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    min-width: 500px;
    max-width: 640px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 12px 48px rgba(30,42,26,0.18);
    animation: slideUp 0.2s;
}

.modal h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 24px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* === Stats === */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
}

.stat-card .stat-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.stat-card .stat-value {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.stat-card .stat-sub {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.stat-green { color: var(--envera-green-dark); }
.stat-orange { color: var(--orange); }
.stat-red { color: var(--red); }
.stat-blue { color: var(--blue); }
.stat-muted { color: var(--text-muted); }

/* Internal/Admin client styling */
.internal-client {
    border-color: var(--border);
    background: var(--surface);
}
.internal-client .card-header {
    background: var(--surface-muted, #f5f5f3);
}

/* === Badges === */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    font-family: var(--font-mono);
}

.badge-cyan { background: var(--envera-green-dim); color: var(--envera-green-dark); }
.badge-purple { background: rgba(74,124,46,0.10); color: #4a7c2e; }
.badge-green { background: var(--envera-green-dim); color: var(--envera-green-dark); }
.badge-orange { background: var(--orange-dim); color: var(--orange); }
.badge-yellow { background: var(--yellow-dim); color: var(--yellow); }
.badge-red { background: var(--red-dim); color: var(--red); }
.badge-blue { background: var(--blue-dim); color: var(--blue); }
.badge-muted { background: rgba(138,148,132,0.12); color: var(--text-muted); }

/* === Tree view (Clients & Projects) === */
.tree-client {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    margin-bottom: 16px;
    overflow: hidden;
}

.tree-client-header {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tree-client-header h4 {
    font-weight: 600;
    font-size: 0.95rem;
}

.tree-project {
    border-top: 1px solid var(--border);
}

.tree-project-header {
    padding: 12px 20px 12px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.1s;
}

.tree-project-header:hover {
    background: var(--surface2);
}

.tree-project-body {
    border-top: 1px solid rgba(221,224,214,0.7);
    background: var(--surface2);
}

/* === Time Entry === */
.te-employee-select {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.te-emp-card {
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.15s;
}

.te-emp-card:hover {
    border-color: var(--border-light);
}

.te-emp-card.selected {
    border-color: var(--envera-green);
    background: var(--envera-green-dim);
}

.te-emp-card .te-emp-name {
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.te-emp-card .te-emp-title {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.te-emp-card .te-emp-projects {
    margin-top: 8px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.te-project-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.te-project-card {
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.te-project-card:hover {
    border-color: var(--border-light);
}

.te-project-card.selected {
    border-color: var(--envera-green-dark);
    background: var(--envera-green-subtle);
}

.te-project-card .te-proj-client {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.te-project-card .te-proj-name {
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 2px;
}

.te-project-card .te-proj-rate {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--envera-green-dark);
}

/* === Hours Input Stepper === */
.hours-input {
    display: flex;
    align-items: center;
}

.hours-input button {
    width: 34px;
    height: 36px;
    border: 1px solid var(--border);
    background: var(--surface2);
    color: var(--text);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s;
}

.hours-input button:hover {
    background: var(--border);
}

.hours-input button:first-child {
    border-radius: 6px 0 0 6px;
}

.hours-input button:last-child {
    border-radius: 0 6px 6px 0;
}

.hours-input input {
    width: 70px;
    text-align: center;
    border-radius: 0;
    border-left: none;
    border-right: none;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.9rem;
}

/* === Month Picker === */
.month-picker {
    display: flex;
    align-items: center;
    gap: 12px;
}

.month-picker .month-label {
    font-size: 1rem;
    font-weight: 600;
    min-width: 180px;
    text-align: center;
}

.month-arrow {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface2);
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    font-size: 1rem;
}

.month-arrow:hover {
    border-color: var(--border-light);
    color: var(--text);
}

/* === Write-off Tag === */
.wo-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--red-dim);
    color: var(--red);
    font-size: 0.68rem;
    font-family: var(--font-mono);
    font-weight: 500;
}

/* === Misc === */
.chevron {
    transition: transform 0.2s;
    display: inline-block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.chevron.open {
    transform: rotate(90deg);
}

.sub-rows td {
    background: var(--surface2) !important;
}

.sub-rows td:first-child {
    padding-left: 44px;
}

.empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.empty p {
    font-size: 0.88rem;
}

.toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--envera-green);
    color: #fff;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.88rem;
    z-index: 200;
    animation: slideUp 0.2s, fadeIn 0.2s;
    box-shadow: 0 8px 30px rgba(30,42,26,0.25);
}

.assign-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.assign-row:last-child {
    border-bottom: none;
}

.assign-row .assign-name {
    flex: 1;
    font-size: 0.85rem;
}

.assign-row input[type="number"] {
    width: 90px;
}

/* === Alerts === */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.88rem;
}

.alert-error {
    background: var(--red-dim);
    color: var(--red);
    border: 1px solid rgba(196,72,62,0.2);
}

.alert-info {
    background: var(--blue-dim);
    color: var(--blue);
    border: 1px solid rgba(59,130,246,0.2);
}

.alert-success {
    background: var(--envera-green-dim);
    color: var(--envera-green-dark);
    border: 1px solid rgba(118,166,66,0.2);
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

/* === Alpine cloak === */
[x-cloak] {
    display: none !important;
}

/* === Loading indicator === */
.htmx-request .htmx-indicator {
    display: inline-block;
}

.htmx-indicator {
    display: none;
}

/* === Tabs === */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
}

.tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.15s;
}

.tab:hover {
    color: var(--envera-green-dark);
}

.tab.active {
    color: var(--envera-green-dark);
    border-bottom-color: var(--envera-green);
    background: var(--envera-green-subtle);
}

/* === Data Tables === */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    background: var(--surface-muted);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.data-table tr:hover td {
    background: var(--envera-cream);
}

/* === Project Select Dropdown === */
.project-select-wrapper {
    position: relative;
}

.project-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: white;
    cursor: pointer;
    font-size: 0.95rem;
}

.project-select-trigger:hover {
    border-color: var(--envera-green);
}

.project-select-trigger.disabled {
    background: var(--surface-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

.project-select-arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.project-search-box {
    padding: 8px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: white;
}

.project-search-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.9rem;
}

.project-search-input:focus {
    outline: none;
    border-color: var(--envera-green);
}

.project-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 350px;
    overflow-y: auto;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    margin-top: 4px;
}

.project-list {
    max-height: 280px;
    overflow-y: auto;
}

.project-group {
    border-bottom: 1px solid var(--border);
}

.project-group:last-child {
    border-bottom: none;
}

.project-group-header {
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: var(--surface-muted);
    position: sticky;
    top: 0;
}

.project-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px 10px 20px;
    cursor: pointer;
    transition: background 0.1s;
}

.project-option:hover {
    background: var(--envera-cream);
}

.project-option.selected {
    background: var(--envera-green-dim);
}

.project-option-name {
    font-weight: 500;
}

.project-option-number {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.project-option-rate {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--envera-green-dark);
    font-weight: 500;
}

.selected-project-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 12px;
    background: var(--envera-green-subtle);
    border-radius: 6px;
    font-size: 0.9rem;
}

.billing-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--surface-muted);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
}

.billing-preview strong {
    color: var(--envera-green-dark);
    font-size: 1rem;
}

/* === Modal Improvements === */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}

/* === Responsive === */
@media (max-width: 860px) {
    .sidebar {
        width: 56px;
        padding: 16px 0;
    }
    
    .logo {
        padding: 0 8px 16px;
        text-align: center;
    }
    
    .logo img {
        height: 20px;
        margin: 0 auto 4px;
    }
    
    .logo span { display: none; }
    .nav-item span { display: none; }
    
    .nav-item {
        justify-content: center;
        padding: 10px;
    }
    
    .sidebar-footer,
    .user-bar { display: none; }
    
    .main {
        margin-left: 56px;
        padding: 24px 20px;
    }
    
    .modal {
        min-width: auto;
        width: 92vw;
    }
}
