/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--dark-bg, #1e1e2f);
    color: white;
    padding: 0 20px;
    height: 60px;
    z-index: 1000;
    position: relative;
}

.brand {
    font-weight: bold;
    font-size: 1.2rem;
}

.brand-link {
    color: #ffffff; /* green */
    text-decoration: none;
}
.brand-link span { color: inherit; font-weight: 300; }
.brand-link:hover { text-decoration: underline; }

/* loader styles moved to data/loader-wrapper.css to avoid duplication */

.right-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-status {
    background-color: var(--primary);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: default;
}

/* --- User dropdown --- */
.user {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    cursor: pointer;
}

.user img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.user-info {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.user-name {
    font-weight: bold;
    font-size: 13px;
}

.user-email {
    font-size: 10px;
    color: #ccc;
}

/* Dropdown menu */
.dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #2c2c3a;
    display: none;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
    min-width: 150px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.dropdown a {
    padding: 10px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s;
}

.dropdown a:hover {
    background-color: #3a3a4f;
}

.dropdown a.logout {
    color: #dc3545;
}