/* Top navigation bar */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #454545;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    z-index: 1000;
}

.logo-nav {
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    justify-content: center;
    margin-left: 1.5rem;
    gap: 1rem;
}

.nav-link {
    color: #909090;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #fff;
    background: rgba(255, 97, 97, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: #ff6161;
}

/* User section in navigation */
.user-section {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6161, #cc1100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    color: white;
}

.logout-btn {
    background: rgba(255, 97, 97, 0.1);
    color: #ff6161;
    border: 1px solid rgba(255, 97, 97, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255, 97, 97, 0.2);
    border-color: #ff6161;
}

.admin-btn-small {
    background: linear-gradient(135deg, #ff6161, #cc1100);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 10px rgba(255, 97, 97, 0.2);
}

.admin-btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 97, 97, 0.3);
}
