/**
 * shell-sidebar.css - App Shell, Top Navigation Bar, View Switcher, and Responsive Layout
 */
.app-shell {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* =========================================================================
   TOP BAR (Google Calendar Web Header)
   ========================================================================= */
.top-bar {
    height: 3.85rem;
    min-height: 3.85rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    gap: 1rem;
    z-index: 40;
}

[data-theme="dark"] .top-bar {
    border-bottom-color: rgba(132, 151, 184, 0.14);
    background: linear-gradient(180deg, rgba(8, 11, 16, 0.94), rgba(4, 7, 12, 0.92));
}

[data-theme="light"] .top-bar {
    border-bottom-color: rgba(23, 64, 129, 0.1);
    background: rgba(255, 255, 255, 0.85);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--pill-radius);
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.15s ease;
}

.icon-btn:hover {
    background: var(--bg-hover);
    border-color: var(--border-default);
    color: var(--text-primary);
}

.caps-bold-heading {
    margin: 0;
    color: var(--accent-primary) !important;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.brand-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--accent-primary) !important;
    text-transform: uppercase;
    white-space: nowrap;
}

.today-btn {
    height: 36px;
    padding: 0 1rem;
    border-radius: var(--pill-radius);
    border: 1px solid var(--border-default);
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.today-btn:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.month-nav-group {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.current-month-title {
    font-size: 1.35rem;
    line-height: 2rem;
    font-weight: 700;
    margin: 0 0 0 0.35rem;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    white-space: nowrap;
}

/* =========================================================================
   WORKSPACE BODY (Full Width Main Viewport)
   ========================================================================= */
.workspace-body {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    width: 100%;
}

@media (max-width: 768px) {
    .top-bar {
        padding: 0 0.75rem;
        gap: 0.5rem;
    }
    .brand-title {
        font-size: 1.15rem;
    }
    .current-month-title {
        font-size: 1.05rem;
    }
    .today-btn {
        padding: 0 0.65rem;
        font-size: 0.78rem;
    }
}
