/**
 * 顶部导航栏样式
 * 配色和层级使用全局CSS变量
 */

/* 顶部导航栏 */
.top-nav-bar {
    width: 100%;
    height: 4vh;
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--bg-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.nav-logo {
    height: 100%;
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.nav-subtitle {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.2;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

/* 响应式 */
@media (max-width: 768px) {
    .top-nav-bar {
        height: auto;
        min-height: 45px;
        padding: 0 16px;
        gap: 8px;
    }
    
    .nav-logo {
        max-height: 32px;
    }
    
    .nav-title {
        font-size: 14px;
    }
    
    .nav-subtitle {
        font-size: 10px;
    }
}
