:root {
    --primary-color: #7366ef;
    --secondary-color: #5956e9;
    --accent-color: #7366ef;
    --label-color: #7366ef;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --error-color: #f56565;
    --primary-gradient: linear-gradient(135deg, #7366ef 0%, #5956e9 100%);
    --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 4px 15px rgba(115, 102, 239, 0.3);
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    padding-top: 60px; /* Space for fixed top bar */
    position: relative;
}

/* Watermark styles */
body::before {
    content: "\00A9 Adrian Ranta. All rights reserved. Unauthorised use, reproduction and or distribution is strictly prohibited.";
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 10px;
    color: rgba(0, 0, 0, 0.03);
    transform: rotate(-45deg);
    transform-origin: center;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

body::after {
    content: "\00A9 Adrian Ranta. All rights reserved.";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 48px;
    color: rgba(0, 0, 0, 0.02);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    letter-spacing: 10px;
}

/* Top Bar Styles */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.nav-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s ease;
    position: relative;
}

.nav-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.home-icon {
    color: white;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 240px;
    padding: 8px;
    display: none;
    z-index: 1001;
    animation: dropdownFadeIn 0.2s ease;
}

.nav-dropdown.active {
    display: block;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #333;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.nav-menu-item:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

.nav-menu-item svg {
    flex-shrink: 0;
}

.nav-menu-item.active {
    background: var(--primary-gradient);
    color: white;
}

.nav-menu-item.active svg {
    stroke: white;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.7);
}

.current-page {
    font-size: 16px;
    color: white;
}

.top-bar-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rocket-icon {
    font-size: 32px;
}

.brand-text h1 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    color: white;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
}

.user-name {
    font-size: 14px;
    color: white;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
}

.user-avatar:hover {
    background: rgba(255, 255, 255, 0.3);
}

.user-avatar svg {
    color: white;
}

/* User Dropdown Menu */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    padding: 8px 0;
    display: none;
    z-index: 1001;
}

.user-dropdown.active {
    display: block;
}

.user-dropdown-item {
    padding: 10px 20px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-dropdown-item:hover {
    background: #f5f5f5;
}

.user-dropdown-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 8px 0;
}

/* App Container */
.app-container {
    display: flex;
    height: calc(100vh - 60px);
    width: 100%;
    background: #f0f2f5;
}

/* Left Pane */
.left-pane {
    width: 76px;
    min-width: 76px;
    max-width: 76px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: visible;
    padding: 20px 10px;
    gap: 10px;
}

/* Remove old pane-header styles */

.nav-menu {
    flex: 1;
    padding: 0;
    background: transparent;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-btn {
    width: 56px;
    height: 56px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nav-btn:hover {
    background: rgba(108, 92, 231, 0.1);
}

.nav-btn.active {
    background: #6c5ce7;
    color: white;
}

.nav-btn.active svg {
    color: white;
}

.nav-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.nav-btn.active .nav-icon {
    background: transparent !important;
    box-shadow: none;
}

.nav-btn svg {
    width: 28px;
    height: 28px;
}

.nav-icon svg {
    color: #4a5568;
    fill: none;
    stroke: #4a5568;
    stroke-width: 2;
}

.nav-btn.active .nav-icon svg {
    color: white;
    fill: none;
    stroke: white;
    stroke-width: 2;
}

.nav-text {
    display: none;
}

/* Special icon styling for specific items */
.nav-btn[title="Dashboard"] svg rect {
    fill: currentColor;
    stroke: none;
}

.nav-btn[title="Vendors"] svg rect:last-of-type {
    fill: currentColor;
}

.nav-btn[title="Licenses"] svg circle {
    fill: currentColor;
}

.nav-btn[title="Administration"] svg circle {
    fill: currentColor;
}

/* Remove old pane-footer styles */

/* Remove old resize-handle styles */

/* Remove old compact toggle styles */
/* Remove old pane header styles */
/* Remove old compact mode styles */
/* Main Container */
.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    overflow: hidden;
    padding: 12px;
}

/* Remove old header styles - using inline styles instead */

/* View Content */
.view-content {
    flex: 1;
    overflow-y: auto;
}

/* Dashboard and other views */
#dashboardView, #assetsView, #accountsView, #usersView, #vendorsView,
#inventoryView, #licensesView, #ticketsView, #configView, #adminView {
    height: 100%;
    overflow-y: auto;
    padding: 0;
}

/* Stats for Dashboard (legacy, kept for backward compatibility) */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 2.5em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size:0.91em;
}

/* Dashboard Tiles Grid (Fix 170) */
/* (c) Adrian Ranta. All rights reserved. Unauthorised use, reproduction and or distribution is strictly prohibited. */
.dashboard-tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.dashboard-tile {
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    border-left: 4px solid #7366ef;
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.dashboard-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tile-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
}

.tile-icon svg {
    width: 28px;
    height: 28px;
}

.tile-info {
    flex: 1;
    min-width: 0;
}

.tile-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.tile-stats {
    display: flex;
    gap: 16px;
}

.tile-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tile-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}

.tile-stat-label {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Controls */
.controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

/* Search Container */
.search-container {
    display: flex;
    gap: 15px;
    flex: 1;
    min-width: 300px;
}

/* Assets List */
.assets-list {
    background: white;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

/* Network View Container */
.network-view {
    background: white;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: calc(100vh - 220px);
}

/* Forms Container - Legacy (kept for compatibility) */
#formsContainer {
    display: none;
}

/* Asset Form - Inline View */
.asset-form {
    background: white;
    padding: 0;
}

/* Inventory Form Specific Styling */
.inventory-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.inventory-main-info,
.inventory-stock-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* License Form Specific Styling */
.license-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.license-main-info,
.license-details-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.license-additional-info {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Ticket Form Specific Styling */
.ticket-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.ticket-main-info,
.ticket-assignment-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ticket-additional-info {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 10px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

/* No Data State */
.no-data {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px;
}

/* Hidden Elements */
.file-input {
    display: none;
}

/* Dropdown menu in left pane */
.left-pane .dropdown-menu {
    position: relative;
    width: 100%;
}

.left-pane .dropdown-toggle {
    width: 100%;
    padding: 12px 20px;
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    text-align: left;
}

.left-pane .dropdown-toggle:hover {
    background: #e9ecef;
}

.left-pane .dropdown-content {
    position: absolute;
    bottom: 100%;
    margin-bottom: 5px;
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Floating Add Button */
.add-asset-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 100;
}

.add-asset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
/* Remove duplicate nav button styles */

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* Watermark */
.watermark {
    position: fixed;
    bottom: 10px;
    left: 45%;
    transform: translateX(-50%);
    font-size: 12px;
    color: rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 9999;
    text-align: right;
    font-style: italic;
    user-select: none;
}

/* Make watermark slightly more visible on dark backgrounds */
@media (prefers-color-scheme: dark) {
	.watermark {
		position: fixed;
		bottom: 10px;
		left: 45%;
		transform: translateX(-50%);
		font-size: 12px;
		color: rgba(0, 0, 0, 0.2);
		pointer-events: none;
		z-index: 9999;
		text-align: right;
		font-style: italic;
		user-select: none;
	}
}
/* Asset Form Grid */
.asset-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* World Map Styles */
#worldMap {
    width: 100%;
    height: 100%;
    min-height: 400px;
    position: relative;
    background: #f0f0f0;
}

/* Leaflet map container fix */
.leaflet-container {
    width: 100%;
    height: 100%;
    position: relative;
    outline: none;
}

/* Fix for Leaflet tiles */
.leaflet-tile-pane {
    z-index: 2;
}

.leaflet-overlay-pane {
    z-index: 4;
}

.leaflet-shadow-pane {
    z-index: 5;
}

.leaflet-marker-pane {
    z-index: 6;
}

.leaflet-tooltip-pane {
    z-index: 7;
}

.leaflet-popup-pane {
    z-index: 8;
}

/* Custom map marker styles */
.custom-map-marker {
    transition: all 0.3s ease;
}

.custom-map-marker:hover {
    transform: scale(1.1);
}


/* Assets Grid Layout (matching vendors-grid) */
.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

/* Remove margin-bottom from asset cards in grid layout */
.assets-grid .asset-card {
    margin-bottom: 0;
}

/* Asset List View Styles */
.asset-list-header {
    display: grid;
    grid-template-columns: 30px 40px 2fr 110px 1.5fr 1.5fr 1fr;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    font-size: 13px;
    color: #495057;
    border-radius: 8px 8px 0 0;
    align-items: center;
}

.asset-list-container {
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.asset-list-item {
    display: grid;
    grid-template-columns: 30px 40px 2fr 110px 1.5fr 1.5fr 1fr;
    gap: 10px;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.asset-list-item:hover {
    background: #f8f9fa;
}

.asset-list-item.selected {
    background: #e8f4f8;
    border-left: 3px solid var(--primary-color);
    padding-left: 12px;
}

.asset-list-item:last-child {
    border-bottom: none;
}

.asset-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.asset-list-name {
    font-weight: 500;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asset-list-status {
    text-align: center;
}

.status-indicator {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.status-indicator.status-active,
.status-indicator.status-online {
    background: #d4edda;
    color: #155724;
}

.status-indicator.status-inactive,
.status-indicator.status-offline {
    background: #f8d7da;
    color: #721c24;
}

.status-indicator.status-maintenance {
    background: #fff3cd;
    color: #856404;
}

.status-indicator.status-unknown {
    background: #e2e3e5;
    color: #383d41;
}

.status-indicator.status-in-storage {
    background: #e2e8f0;
    color: #2d3748;
}

.status-indicator.status-in-use {
    background: #d4edda;
    color: #155724;
}

.status-indicator.status-retired {
    background: #f8d7da;
    color: #721c24;
}

.status-indicator.status-planning {
    background: #d1ecf1;
    color: #0c5460;
}

.status-indicator.status-deployed {
    background: #d4edda;
    color: #155724;
}

.status-indicator.status-disposed {
    background: #f5c6cb;
    color: #721c24;
}

.asset-list-account,
.asset-list-location,
.asset-list-vendor {
    color: #6c757d;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .asset-list-header,
    .asset-list-item {
        grid-template-columns: 30px 36px 1.5fr 100px 1fr 1fr 0.8fr;
        gap: 8px;
        font-size: 13px;
    }

    .asset-list-icon {
        width: 20px;
        height: 20px;
    }
}

/* Asset Filters Bar */
.asset-filters-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

/* Add Button */
.btn-add {
    background: #7c3aed;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    display: inline-block !important;
    visibility: visible !important;
}

.btn-add:hover {
    background: #6d28d9;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

/* Filter Groups */
.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* Filter Dropdowns */
.filter-select {
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.filter-select:hover {
    border-color: #d1d5db;
}

.filter-select:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Search Input */
.filter-search {
    flex: 1;
    max-width: 300px;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    font-size: 13px;
    transition: all 0.2s ease;
}

.filter-search:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Clear Button */
.btn-clear {
    background: #e5e7eb;
    color: #6b7280;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-clear:hover {
    background: #d1d5db;
    color: #374151;
}

/* Config Tabs in Filter Bar */
.asset-filters-bar .config-tab {
    padding: 6px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.asset-filters-bar .config-tab:hover:not(.active) {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

.asset-filters-bar .config-tab.active {
    background: #7c3aed;
    color: white;
    border-color: #7c3aed;
}

/* View Toggles Container */
.view-toggles {
    margin-left: auto;
    display: flex;
    gap: 4px;
}

/* View toggle button styles */
.view-toggle-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    background: white;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
    font-size: 18px;
    color: #6b7280;
}

.view-toggle-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.view-toggle-btn.active {
    background: #7c3aed;
    border-color: #7c3aed;
    color: white;
}

.view-toggle-btn svg {
    width: 16px;
    height: 16px;
}

.view-toggle-btn.active svg {
    fill: white;
}

.view-toggle-btn:not(.active) svg {
    fill: #6b7280;
}

/* Compact List Table (shared across modules) */
/* (c) Adrian Ranta. All rights reserved. Unauthorised use, reproduction and or distribution is strictly prohibited. */
.compact-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.compact-list-table thead th {
    padding: 6px 10px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    font-size: 13px;
    color: #495057;
    text-align: left;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
}

.compact-list-table tbody tr {
    height: 36px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.15s ease;
}

.compact-list-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.compact-list-table tbody tr:hover {
    background: #f0f4f8;
}

.compact-list-table tbody tr.selected {
    background: #e8f4f8;
    border-left: 3px solid var(--primary-color);
}

.compact-list-table tbody td {
    padding: 5px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    color: #333;
}

.compact-list-table .status-cell {
    text-align: center;
}

.compact-list-table .status-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    text-transform: capitalize;
}

.compact-list-table .status-pill.status-active,
.compact-list-table .status-pill.status-open,
.compact-list-table .status-pill.status-in-stock {
    background: #d4edda;
    color: #155724;
}

.compact-list-table .status-pill.status-inactive,
.compact-list-table .status-pill.status-closed,
.compact-list-table .status-pill.status-expired {
    background: #f8d7da;
    color: #721c24;
}

.compact-list-table .status-pill.status-pending,
.compact-list-table .status-pill.status-expiring,
.compact-list-table .status-pill.status-low-stock {
    background: #fff3cd;
    color: #856404;
}

.compact-list-table .status-pill.status-in-progress,
.compact-list-table .status-pill.status-in_progress,
.compact-list-table .status-pill.status-resolved {
    background: #d1ecf1;
    color: #0c5460;
}

.compact-list-table .status-pill.status-planning {
    background: #d1ecf1;
    color: #0c5460;
}

.compact-list-table .status-pill.status-retired,
.compact-list-table .status-pill.status-disposed {
    background: #f8d7da;
    color: #721c24;
}

.compact-list-table .status-pill.status-in-storage,
.compact-list-table .status-pill.status-in-use,
.compact-list-table .status-pill.status-deployed {
    background: #e2e8f0;
    color: #2d3748;
}

.compact-list-table .status-pill.status-unassigned {
    background: #e74c3c;
    color: #fff;
    font-weight: 700;
}

/* Ticket type pill */
.compact-list-table .type-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    text-transform: capitalize;
    background: #e2e8f0;
    color: #2d3748;
}
.compact-list-table .type-pill.type-incident {
    background: #ffeeba;
    color: #856404;
}
.compact-list-table .type-pill.type-request {
    background: #d1ecf1;
    color: #0c5460;
}
.compact-list-table .type-pill.type-bug {
    background: #f8d7da;
    color: #721c24;
}
.compact-list-table .type-pill.type-change {
    background: #d4edda;
    color: #155724;
}
.compact-list-table .type-pill.type-problem {
    background: #e8daef;
    color: #6c3483;
}

.compact-list-table .priority-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
}

.compact-list-table .priority-pill.priority-critical {
    background: #f8d7da;
    color: #721c24;
}

.compact-list-table .priority-pill.priority-high {
    background: #ffeeba;
    color: #856404;
}

.compact-list-table .priority-pill.priority-medium {
    background: #d1ecf1;
    color: #0c5460;
}

.compact-list-table .priority-pill.priority-low {
    background: #d4edda;
    color: #155724;
}

.module-view-toggle {
    display: inline-flex;
    gap: 2px;
    margin-left: 8px;
    vertical-align: middle;
}

.module-view-toggle .view-toggle-btn {
    width: 28px;
    height: 28px;
}

/* User Management Styles */
.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.user-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.user-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.user-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.user-avatar {
    position: relative;
    margin-right: 15px;
}

.user-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e3f2fd;
    color: #1976d2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.activity-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
}

.activity-indicator.active {
    background: #4caf50;
}

.activity-indicator.idle {
    background: #ff9800;
}

.activity-indicator.offline {
    background: #9e9e9e;
}

.user-info h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.user-info p {
    margin: 0 0 8px 0;
    color: #666;
    font-size: 14px;
}

.user-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
}

.user-meta .badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.badge-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-warning {
    background: #fff3e0;
    color: #f57c00;
}

.badge-info {
    background: #e3f2fd;
    color: #1976d2;
}

.badge-danger {
    background: #ffebee;
    color: #c62828;
}

.user-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.user-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
}

.user-actions .btn {
    padding: 6px 12px;
    font-size: 13px;
}

.user-details {
    padding: 20px;
}

.user-avatar-large {
    text-align: center;
    margin-bottom: 20px;
}

.user-avatar-large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #e3f2fd;
    color: #1976d2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 48px;
}

.stat-card {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.device-list {
    margin-top: 10px;
}

.device-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 8px;
}

.device-item i {
    font-size: 20px;
    margin-right: 10px;
    color: #666;
}

.device-info {
    flex: 1;
}

.device-info strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.device-info .text-muted {
    font-size: 12px;
}

.device-meta {
    font-size: 12px;
    color: #999;
}

/* Empty state styles */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    color: #374151;
    margin-bottom: 10px;
}

.empty-state p {
    margin-bottom: 20px;
}

/* User list view styles */
.user-list-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.user-list-header {
    display: grid;
    grid-template-columns: 2.5fr 60px 1.2fr 0.8fr 1.2fr 1.2fr 0.8fr;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e9ecef;
}

.user-list-item {
    display: grid;
    grid-template-columns: 2.5fr 60px 1.2fr 0.8fr 1.2fr 1.2fr 0.8fr;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.user-list-item:hover {
    background: #f8f9fa;
}

.user-list-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    position: relative;
}

.user-avatar-small img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e3f2fd;
    color: #1976d2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

/* Configuration Asset Types */
.config-type-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.2s;
    cursor: context-menu;
    position: relative;
}

.config-type-item:hover {
    background: #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transform: translateX(2px);
}

.config-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.config-item:hover {
    background: #e9ecef;
}

.config-item-name {
    font-weight: 500;
    color: #212529;
    flex: 1;
}

.config-list-with-icons {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.config-item-remove {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 20px;
    cursor: pointer;
    padding: 0 5px;
    opacity: 0.6;
    transition: all 0.2s;
}

.config-item-remove:hover {
    opacity: 1;
    transform: scale(1.2);
}

.config-item-text {
    flex: 1;
    font-weight: 500;
    color: #212529;
}

.config-item-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.config-item-edit {
    background: none;
    border: none;
    color: #0d6efd;
    font-size: 16px;
    cursor: pointer;
    padding: 0 5px;
    opacity: 0.6;
    transition: all 0.2s;
}

.config-item-edit:hover {
    opacity: 1;
    transform: scale(1.2);
}

.config-item-editing {
    background: #e8f0fe;
}

.config-item-edit-input {
    flex: 1;
    padding: 4px 8px;
    border: 1px solid #0d6efd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.config-item-edit-input:focus {
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.config-item-save {
    background: none;
    border: none;
    color: #198754;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
    opacity: 0.7;
    transition: all 0.2s;
}

.config-item-save:hover {
    opacity: 1;
    transform: scale(1.2);
}

.config-item-cancel {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
    opacity: 0.7;
    transition: all 0.2s;
}

.config-item-cancel:hover {
    opacity: 1;
    transform: scale(1.2);
}

.config-hint {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    text-align: center;
    color: #6c757d;
    font-size: 13px;
}

/* Icon Picker Modal */
.icon-picker-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.icon-picker-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.icon-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.icon-picker-header h3 {
    margin: 0;
    color: #212529;
}

.icon-picker-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.icon-picker-close:hover {
    background: #f8f9fa;
    color: #212529;
}

.icon-picker-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #dee2e6;
}

.icon-picker-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #6c757d;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.icon-picker-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 8px;
    margin-bottom: 20px;
}

.icon-option {
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    font-size: 24px;
    transition: all 0.2s;
}

.icon-option:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.icon-option.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.icon-upload-section {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
}

.icon-upload-input {
    display: none;
}

.icon-upload-label {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-upload-label:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.icon-upload-preview {
    margin-top: 20px;
}

.icon-upload-preview img {
    max-width: 80px;
    max-height: 80px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
}

/* Icon input group for adding new asset types */
.icon-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.icon-picker-btn {
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s;
}

.icon-picker-btn:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
}

/* ========================================
   FIX 91: Cross-Module Layout & Font Standardization
   Ensures consistent sizing, spacing, and typography across all module views.
   (c) Adrian Ranta. All rights reserved. Unauthorised use, reproduction and or distribution is strictly prohibited.
   ======================================== */

/* --- Filter Bar Standardization --- */
/* Ensure filter bars never shrink and have uniform sizing */
.asset-filters-bar {
    flex-shrink: 0;
}

.asset-filters-bar .filter-group label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.asset-filters-bar .filter-select {
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    font-size: 13px;
    color: #374151;
    min-width: 120px;
}

.asset-filters-bar .filter-search {
    font-size: 13px;
}

.asset-filters-bar .btn-add {
    font-size: 13px;
}

.asset-filters-bar .btn-clear {
    font-size: 13px;
}

/* --- Table/List Header Standardization --- */
/* All table headers across modules: 13px, weight 600 */
.compact-list-table thead th {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
}

.vendors-table th,
.inventory-table th {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
}

.asset-list-header {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
}

.user-list-header {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
}

/* --- Table/List Body Standardization --- */
/* All table body text: 13px */
.compact-list-table tbody td {
    font-size: 13px;
}

.vendors-table td {
    font-size: 13px;
}

.inventory-table td {
    font-size: 13px;
}

.asset-list-item {
    font-size: 13px;
}

.user-list-item {
    font-size: 13px;
}

/* Card title, body, badge, and action button standardization is in components.css (loaded after main.css) */

/* --- Content Container Standardization --- */
/* Shared class for module content areas to reduce inline style reliance */
.module-content-area {
    background: white;
    border-radius: 12px;
    padding: 15px;
    flex: 1;
    overflow-y: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* --- View Container Standardization --- */
/* Override the inline <style> in index.html <head> to ensure consistency */
#dashboardView, #assetsView, #accountsView, #usersView, #vendorsView,
#inventoryView, #licensesView, #ticketsView, #configView, #adminView {
    display: flex;
    flex-direction: column;
}

/* ========================================
   MED-10: Contract Expiry Badges
   (c) Adrian Ranta. All rights reserved. Unauthorised use, reproduction and or distribution is strictly prohibited.
   ======================================== */
.contract-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.contract-badge.contract-expired {
    background: #f8d7da;
    color: #721c24;
}

.contract-badge.contract-expiring-soon {
    background: #ffeeba;
    color: #856404;
}

.contract-badge.contract-expiring {
    background: #fff3cd;
    color: #856404;
}

.contract-badge.contract-valid {
    background: #d4edda;
    color: #155724;
}

/* ========================================
   MED-12: Vendor Spend Analysis Panel
   (c) Adrian Ranta. All rights reserved. Unauthorised use, reproduction and or distribution is strictly prohibited.
   ======================================== */
.vendor-spend-panel {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 16px;
}

.vendor-spend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid #e9ecef;
}

.vendor-spend-panel.collapsed .vendor-spend-header {
    border-bottom: none;
}

.vendor-spend-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.vendor-spend-toggle {
    font-size: 12px;
    color: #6b7280;
}

.vendor-spend-body {
    padding: 16px;
}

.spend-stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.spend-stat-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 14px;
    text-align: center;
}

.spend-stat-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.spend-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
}

.spend-breakdown-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .spend-breakdown-row {
        grid-template-columns: 1fr;
    }
}

.spend-breakdown h4 {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.spend-breakdown-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.spend-breakdown-table th {
    padding: 6px 10px;
    background: #f0f2f5;
    font-weight: 600;
    color: #495057;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.spend-breakdown-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.spend-breakdown-table tbody tr:hover {
    background: #f8f9fa;
}

/* ========================================
   SPACING & LAYOUT AUDIT FIXES
   Reduces wasted space, fixes bottom overlap, tightens density.
   (c) Adrian Ranta. All rights reserved. Unauthorised use, reproduction and or distribution is strictly prohibited.
   ======================================== */

/* S-03 & S-06 & S-07: Override inline padding and border-radius on list containers.
   Inline styles require !important (safe -- these are padding/border-radius, not display). */
#assetsList,
#accountsList,
#vendorsList,
#inventoryList,
#licensesList,
#ticketsList,
#diagramsList {
    padding: 15px !important;
    border-radius: 12px !important;
    padding-bottom: 60px !important; /* Prevent overlap with bulk action toolbar */
}

/* S-08: Fix #usersList to match other list containers (inline style lacks flex: 1) */
#usersList {
    padding: 15px !important;
    border-radius: 12px !important;
    padding-bottom: 60px !important;
    flex: 1 !important;
    overflow-y: auto !important;
    min-height: auto !important;
}

/* S-09: Tighten form grid gaps for denser layout */
.form-grid {
    gap: 20px;
}

.account-form-grid {
    gap: 20px;
}

/* S-10: Tighten pagination controls */
.pagination-container {
    padding: 8px 0;
}

.pagination-controls {
    padding: 8px 0;
}

/* Unread ticket badge */
.user-avatar {
    position: relative;
}
.unread-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    padding: 0 4px;
    pointer-events: none;
}

/* Bug report button */
.bug-report-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    overflow: hidden;
    max-width: 32px;
    margin: 0 8px;
}
.bug-report-btn:hover {
    background: #c0392b;
    max-width: 120px;
    gap: 6px;
}
.bug-report-label {
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    transition: all 0.2s;
    overflow: hidden;
}
.bug-report-btn:hover .bug-report-label {
    opacity: 1;
    max-width: 80px;
}
body.dark-mode .bug-report-btn {
    background: #c0392b;
}
body.dark-mode .bug-report-btn:hover {
    background: #e74c3c;
}
