/* _toolbar.css */
.toolbar {
    width: 100%;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between; /* Distribute space between items */
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    flex-shrink: 0; /* Prevent the toolbar from shrinking */
}

.toolbar-bot-name {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.6em;
    font-weight: bold;
    color: white;
    margin-right: 20px;
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 5px;
}

.toolbar-metrics {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-grow: 1;
}

.toolbar-item {
    font-size: 0.9em;
}

.toolbar-item span:first-child {
    font-weight: bold;
}

.toolbar-username {
    margin-right: 20px;
    padding: 5px 10px; /* Add some padding for the background color */
    border-radius: 5px; /* Slightly rounded corners */
    transition: background-color 0.3s ease; /* Smooth transition for color changes */
    display: flex; /* Use flexbox for spacing within the username block */
    align-items: center; /* Vertically align items */
    gap: 5px; /* Space between elements like "Plan: Free | User: Guest" */
}

/* Specific styles for each plan */
.toolbar-username[data-plan="free"] {
    background-color: #555; /* Darker grey for free users */
}

.toolbar-username[data-plan="bronze"] {
    background-color: #cd7f32; /* Bronze color */
}

.toolbar-username[data-plan="silver"] {
    background-color: #c0c0c0; /* Silver color */
}

.toolbar-username[data-plan="gold"] {
    background-color: #ffd700; /* Gold color */
    color: #333; /* Make text dark for better contrast on gold */
}

/* Separator style */
.toolbar-username .separator {
    color: rgba(255, 255, 255, 0.7); /* Slightly faded separator */
}
.toolbar-username[data-plan="gold"] .separator {
    color: rgba(0, 0, 0, 0.5); /* Darker separator for gold */
}

.message-count-red {
    color: red;
}