.app-shell {
    min-height: 100vh;
}

    /* Light / dark overall background */
    .app-shell.light-theme {
        background-color: #ffffff;
        color: #212529;
    }

    .app-shell.dark-theme {
        background-color: #121212;
        color: #f5f5f5;
    }

        .app-shell.dark-theme .navbar {
            background-color: #1f1f1f !important;
        }

/* Sidebar styles */
.sidebar {
    width: 220px;
    background-color: #343a40;
    color: #fff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding-top: 0.5rem;
    transition: width 0.2s ease-in-out;
}

    .sidebar.collapsed {
        width: 64px;
    }

.sidebar-header {
    color: #fff;
    margin-bottom: 0.75rem;
}

.sidebar-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.sidebar-nav {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.sidebar .nav-link {
    color: #ced4da;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0;
}

    .sidebar .nav-link.active,
    .sidebar .nav-link:hover {
        color: #ffffff;
        background-color: #495057;
    }

.sidebar-icon {
    width: 1.5rem;
    text-align: center;
}

.sidebar-section {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.7;
    padding: 0.75rem 0.75rem 0.25rem;
}

.sidebar.collapsed .nav-text,
.sidebar.collapsed .sidebar-section {
    display: none;
}

.sidebar-toggle {
    font-size: 0.9rem;
    padding: 0.15rem 0.4rem;
}

/* Ink styling */
.ink-item {
    background-color: rgba(13, 110, 253, 0.1);
    font-size: 0.85rem;
}

.ink-name {
    color: #0d6efd; /* Default for light mode */
}

.ink-details {
    color: #6c757d; /* Default for light mode */
}

/* Stereo styling */
.stereo-item {
    background-color: rgba(108, 117, 125, 0.1);
    font-size: 0.85rem;
}

.stereo-name {
    color: #6c757d; /* Default for light mode */
}

.stereo-details {
    color: #6c757d; /* Default for light mode */
}

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
    .ink-item {
        background-color: rgba(13, 110, 253, 0.15);
    }
    
    .ink-name {
        color: #6ea8fe !important;
    }
    
    .ink-details {
        color: #adb5bd !important;
    }
    
    .stereo-item {
        background-color: rgba(108, 117, 125, 0.15);
    }
    
    .stereo-name {
        color: #adb5bd !important;
    }
    
    .stereo-details {
        color: #adb5bd !important;
    }
}

/* If using manual theme toggle instead of prefers-color-scheme */
[data-bs-theme="dark"] .ink-item {
    background-color: rgba(13, 110, 253, 0.15);
}

[data-bs-theme="dark"] .ink-name {
    color: #6ea8fe !important;
}

[data-bs-theme="dark"] .ink-details {
    color: #adb5bd !important;
}

[data-bs-theme="dark"] .stereo-item {
    background-color: rgba(108, 117, 125, 0.15);
}

[data-bs-theme="dark"] .stereo-name {
    color: #adb5bd !important;
}

[data-bs-theme="dark"] .stereo-details {
    color: #adb5bd !important;
}
