/* Navigation Styles - Stationary Theme */
.navigation {
    width: 16rem;
    background-color: var(--gray-200);
    border-right: 1px solid var(--primary-600);
    flex-shrink: 0;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    overflow-y: auto;
}

.nav-header {
    padding: 1rem;
    border-bottom: 1px solid var(--primary-600);
    background-color: rgba(184, 134, 11, 0.05);
}

.nav-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-700);
    margin-bottom: 0.25rem;
    font-family: var(--font-family);
    text-shadow: 0 1px 2px rgba(184, 134, 11, 0.1);
}

.nav-subtitle {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-style: italic;
}

.nav-menu {
    padding: 1rem 0.75rem;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    outline: 1px solid transparent;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.nav-item:hover {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.15) 0%, rgba(218, 165, 32, 0.08) 100%);
    color: var(--primary-700);
    transition: all 0.2s ease-in-out;
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(218, 165, 32, 0.3);
}

.nav-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    color: var(--gray-500);
}

.nav-item:hover .nav-icon {
    color: var(--primary-600);
}

.nav-item.active .nav-icon {
    color: white;
}

.nav-item:hover .nav-icon {
    color: var(--gray-500);
}

.nav-item.active:hover .nav-icon {
    color: var(--primary-500);
}

/* Navigation Footer - User Info */
.nav-footer {
    padding: 1rem;
    border-top: 1px solid var(--primary-600);
    background-color: rgba(184, 134, 11, 0.05);
    margin-top: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.nav-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, white 0%, var(--gray-50) 100%);
    border-radius: var(--border-radius);
    outline: 1px solid var(--gray-300);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(218, 165, 32, 0.15);
}

.nav-user-avatar svg {
    width: 24px;
    height: 24px;
    color: var(--primary-600);
}

.nav-user-details {
    flex: 1;
    min-width: 0;
}

.nav-user-email {
    font-size: 0.813rem;
    font-weight: 500;
    color: var(--gray-700);
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-logout-btn {
    font-size: 0.75rem;
    color: var(--gray-600);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

.nav-logout-btn:hover {
    color: var(--primary-600);
}

.nav-login-prompt {
    display: flex;
    justify-content: center;
}

.nav-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease-in-out;
    outline: 1px solid var(--primary-700);
    box-shadow: 0 2px 4px rgba(218, 165, 32, 0.25);
}

.nav-login-btn:hover {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
}

.nav-login-btn .nav-icon {
    margin-right: 0.5rem;
    color: white;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navigation {
        width: 100%;
        height: auto;
        min-height: auto;
        position: fixed;
        top: 0;
        left: 0;
        border-right: none;
        border-bottom: 1px solid var(--primary-600);
        z-index: 100;
        overflow-y: visible;
    }
    
    .nav-header {
        padding: 1rem;
    }
    
    .nav-title {
        font-size: 1.25rem;
    }
    
    .nav-subtitle {
        font-size: 0.75rem;
    }
    
    .nav-menu {
        padding: 0.5rem;
    }
    
    .nav-list {
        flex-direction: row;
        overflow-x: auto;
        gap: 0.5rem;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .nav-list::-webkit-scrollbar {
        height: 4px;
    }
    
    .nav-list::-webkit-scrollbar-thumb {
        background-color: var(--primary-600);
        border-radius: 2px;
    }
    
    .nav-item {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.813rem;
        padding: 0.5rem 0.75rem;
    }
    
    .nav-icon {
        width: 1rem;
        height: 1rem;
        margin-right: 0.5rem;
    }
    
    .nav-footer {
        position: static;
        padding: 0.75rem 1rem;
        margin-top: 0;
    }
    
    .nav-user-info {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .nav-user-avatar {
        width: 32px;
        height: 32px;
    }
    
    .nav-user-avatar svg {
        width: 20px;
        height: 20px;
    }
    
    .nav-user-email {
        font-size: 0.75rem;
    }
    
    .nav-logout-btn {
        font-size: 0.688rem;
    }
    
    .nav-login-btn {
        padding: 0.5rem;
        font-size: 0.813rem;
    }
}