/* Navigation Menu Styles - Dashboard Theme */

/* Theme Variables Override */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #11142D;
    --text-secondary: #808191;
    --text-muted: #B2B3BD;
    --border-color: #E4E4E4;
    --primary-color: #6C5DD3;
    --shadow-sm: 0 2px 4px rgba(228, 228, 228, 0.5);
    --radius: 12px;
}

/* Sidebar Styles - Dashboard Left Panel */
.tags-sidebar {
    /* Layout handled in organized-styles.css */
    background: #ffffff;
}

.sidebar-header {
    padding: 0 0 20px;
    border: none;
    background: transparent;
}

.sidebar-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tags-search {
    margin-bottom: 24px;
    background: transparent;
    position: relative;
    top: 0;
    z-index: 1;
}

.tags-search input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color); /* Cleaner border */
    border-radius: var(--radius);
    background: #ffffff; /* White input */
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.tags-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 93, 211, 0.1);
}

.tags-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tag-item {
    padding: 10px 16px;
    border-radius: var(--radius);
    background: transparent; /* No bg initially */
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none; /* Remove border */
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Left align */
}

.tag-item:hover {
    background: rgba(108, 93, 211, 0.05); /* Light purple hover */
    color: var(--primary-color);
    transform: none; /* No movement */
    box-shadow: none;
}

.tag-item.active {
    background: var(--primary-color);
    color: #ffffff;
}

.tag-item span {
    font-weight: 600;
}

/* Header Styles - Dashboard Top Bar */
.navbar {
    height: 100%;
    width: 100%;
}

.nav-container {
    max-width: 1400px; /* Limit width to match page content */
    margin: 0 auto;    /* Center the container */
    padding: 0 20px;   /* Add padding */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align start, use margin-auto to push menu right */
}

/* Navigation Actions (Toggle Button) */
.nav-actions {
    margin-right: 20px; /* Space between toggle and logo */
}

.tags-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tags-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tags-toggle i {
    font-size: 1.2rem;
}

/* Logo */
.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1;
}

.logo-tagline {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Navigation Menu */
.nav-menu {
    margin-left: auto; /* Push menu to the right */
    position: static;
    transform: none;
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: transparent;
}

.nav-link.active {
    color: var(--primary-color);
    background: transparent;
}

.nav-link.active::after {
    display: none; /* Remove underline */
}

/* Filter Buttons (in nav) */
.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px; /* Pill shape */
    color: var(--text-secondary);
    font-weight: 600;
    background: transparent;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.filter-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-menu {
        display: none; /* Hide standard menu on mobile */
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo-tagline {
        display: none; /* Hide tagline on mobile to save space */
    }
    
    .tags-toggle {
        width: 36px;
        height: 36px;
    }
    
    .nav-actions {
        margin-right: 12px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
    }
}
