/* Navbar Component Styles
 * Extracted from index.html Phase 5.1
 * Styles for navigation bar, token counter, and auth buttons
 */

.navbar {
    background: var(--hh-color-base-white);
    border-bottom: 1px solid var(--hh-color-borders-default);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--hh-shadow-sm);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: var(--hh-type-h4-size);
    font-weight: var(--hh-type-h4-weight);
    color: var(--hh-color-text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--hh-space-sm);
}

.navbar-brand img {
    width: 40px;
    height: 40px;
}

.navbar-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: var(--hh-color-text-secondary);
    text-decoration: none;
    font-weight: var(--hh-type-small-weight);
    font-size: var(--hh-type-small-size);
    padding: var(--hh-space-sm) var(--hh-space-md);
    border-radius: var(--hh-radius-sm);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--hh-color-text-primary);
    background: var(--hh-color-base-cloud);
}

.nav-link.active {
    color: var(--hh-color-text-primary);
    background: var(--hh-color-base-cloud);
}

.token-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.token-counter:hover {
    background: #e5e7eb;
    border-color: #3b82f6;
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.2s ease;
}

.token-counter.low {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
}

.token-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.login-btn, .logout-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-btn {
    background: var(--hh-color-brand-slate);
    color: var(--hh-color-text-inverse);
}

.login-btn:hover {
    background: var(--hh-color-brand-slate-800);
}

.logout-btn {
    background: var(--hh-color-base-cloud);
    color: var(--hh-color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logout-btn:hover {
    background: var(--hh-color-borders-strong);
}
