/* ThemeBar Component Styles */
:root {
    --topbar-height: 52px;
}

@media (max-width: 768px) {
    :root {
        --topbar-height: 56px;
    }
}

.theme-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-height);
    background: linear-gradient(135deg, #e25100 0%, #ff6f00 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1300;
    display: flex;
    align-items: center;
}

.theme-bar-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.theme-bar-hamburger {
    margin-right: 1rem;
}

.theme-bar-logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
}

.theme-bar-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.theme-bar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.theme-bar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.theme-bar-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.theme-bar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-bar-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-bar-username {
    color: white;
    font-weight: 500;
}

.theme-switch {
    margin: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .theme-bar {
        height: var(--topbar-height);
    }
    
    .theme-bar-logo {
        width: 32px;
        height: 32px;
    }
    
    .theme-bar-title {
        font-size: 1rem;
    }
    
    .theme-bar-subtitle {
        display: none;
    }
    
    .theme-bar-username {
        display: none;
    }
}

/* Adjust main content to account for fixed theme bar */
.mud-main-content {
    padding-top: var(--topbar-height);
}
