/* Sidebar & Layout Variables */
:root {
    --sidebar-width: 256px; /* Default open width (16rem) */
}

body.sidebar-closed {
    --sidebar-width: 64px; /* Closed width (4rem) */
}

/* Ensure sidebar is always on top as requested */
.sidebar, #sidebar-container {
    z-index: 100 !important;
}

/* Common Header Styles */
.header-common {
    flex: none;
    height: 3.5rem; /* h-14 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 20;
    position: relative;
    color: white;
}

.header-with-tabs {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding-left: 0;
    padding-right: 0;
}

.header-top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
}

.header-brand-section {
    display: flex;
    align-items: center;
}
.header-brand-section > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0.75rem; /* space-x-3 */
}

.header-brand-icon {
    width: 1.5rem; /* w-6 */
    height: 1.5rem; /* h-6 */
    color: #ffffff;
}

.header-brand-name {
    font-weight: 700;
    font-size: 2.25rem; /* text-4xl equivalent */
    line-height: 2.5rem;
    letter-spacing: 0.025em;
}

.header-brand-subtitle {
    font-weight: 700;
    font-size: 1.25rem; /* text-xl equivalent */
    line-height: 1.75rem;
    letter-spacing: 0.025em;
    margin-left: 0.75rem;
    opacity: 0.9;
}

/* Brand-specific header colors */
.header-giji-log {
    background-color: #1e3a8a; /* blue-900 */
}
.header-giji-log .header-brand-subtitle {
    color: #bfdbfe; /* blue-200 */
}

.header-log-on {
    background-color: #15803d; /* green-700 */
}
.header-log-on .header-brand-subtitle {
    color: #bbf7d0; /* green-200 */
}

.header-pro-log {
    background-color: #312e81; /* indigo-900 */
}
.header-pro-log .header-brand-subtitle {
    color: #c7d2fe; /* indigo-200 */
}

.header-odo-log {
    background-color: #047857; /* emerald-700 */
}
.header-odo-log .header-brand-subtitle {
    color: #a7f3d0; /* emerald-200 */
}

.header-kumi-log {
    background-color: #111827; /* gray-900 */
}
.header-kumi-log .header-brand-subtitle {
    color: #e5e7eb; /* gray-200 */
}

.header-moku-log {
    background-color: #15803d; /* bg-green-700 */
}
.header-moku-log .header-brand-subtitle {
    color: #bbf7d0;
}

.header-sugo-log {
    background-color: #15803d; /* bg-green-700 */
}
.header-sugo-log .header-brand-subtitle {
    color: #bbf7d0;
}

/* Sidebar Width Management - Re-declaring to ensure it overrides if needed, but keeping consistent */
/* Note: The previous file had duplicates at the end. Consolidating here. */
