/* ===============================================
   TOP NAVIGATION COMPONENT
   Header navigation with breadcrumbs, notifications, and user menu
   =============================================== */

.top-nav {
    background-color: var(--bg-white);
    padding: var(--space-sm) 24px var(--space-sm) 12px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 60px;
    margin-bottom: var(--sidebar-gap);
    box-shadow: var(--shadow-xs);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.breadcrumb-container {
    display: flex;
    align-items: center;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
}

.breadcrumb-current {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.notifications {
    position: relative;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
    transition: background-color 0.2s var(--ease-out);
}

.notifications:hover {
    background-color: var(--bg-secondary);
}

.notification-icon {
    color: var(--text-muted);
    transition: color 0.2s var(--ease-out);
}

.notifications:hover .notification-icon {
    color: var(--text-body);
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: var(--color-error);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-semibold);
    line-height: 1;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: transform 0.2s var(--ease-out);
}

.user-avatar:hover {
    transform: scale(1.05);
}

/* ===============================================
   BREADCRUMB BUTTON STYLES
   =============================================== */

.breadcrumb-item {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    padding: 0;
    transition: color 0.2s var(--ease-out);
}

.breadcrumb-item:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.breadcrumb-item:active {
    color: var(--color-primary-hover);
}