/* css/components/header.css */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #0f172a;
    border-bottom: 2px solid #1e293b;
    flex-wrap: wrap;
    gap: 15px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.2s;
    display: inline-block;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #16213e;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1000;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
}

/* Right-aligned dropdowns for the right side of the header */
.dropdown-right .dropdown-content {
    left: auto;
    right: 0;
}

.dropdown-content a, .dropdown-content .wallet-item {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9em;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background-color: #2a3b5c;
    color: #4cc9f0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.nst-clock-display {
    color: #4cc9f0;
    font-family: monospace;
    font-weight: bold;
    background: #16213e;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #333;
}

/* The Glowing Notification Dot */
.nav-alert-dot {
    position: relative;
}
.nav-alert-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -8px;
    width: 10px;
    height: 10px;
    background-color: #ff3333;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff3333;
}