.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    border-bottom: 2px solid #ff0000;
}

.topbar-left {
    display: flex;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
}

.brand-logo {
    height: 40px;
    width: 40px;
    margin-right: 10px;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-item {
    position: relative;
}

.notification-icon {
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    position: relative;
    padding: 10px;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ff0000;
    color: #ffffff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.user-menu-trigger:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ff0000;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
}

.login-button {
    background-color: #ff0000;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #cc0000;
    color: #ffffff;
    text-decoration: none;
}

/* Ajustes para o conteúdo principal */
body {
    padding-top: 60px; /* Altura da topbar */
}

/* Responsividade */
@media (max-width: 768px) {
    .brand-name {
        display: none;
    }

    .user-name {
        display: none;
    }

    .topbar {
        padding: 0 10px;
    }

    .login-button span {
        display: none;
    }
}
