/* Top Bar Styles */
.top-bar {
    background-color: var(--button-color);
    color: #ffffff;
    font-size: 0.7rem;
    padding: 8px 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left strong {
    color: white;
    margin-left: 5px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-right span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.font-controls {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.font-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #334155;
    color: white;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.font-btn:hover {
    background: var(--button-color);
}

.contrast-btn {
    cursor: pointer;
}

.divider {
    opacity: 0.3;
}

.icon-btn {
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
    font-size: 0.9rem;
}

.icon-btn:hover {
    opacity: 1;
}

/* High Contrast Mode */
body.high-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

body.high-contrast .top-bar,
body.high-contrast header,
body.high-contrast footer,
body.high-contrast .card,
body.high-contrast .sidebar {
    background-color: #000 !important;
    border: 1px solid #fff !important;
    color: #fff !important;
    background-image: none !important;
}

body.high-contrast a,
body.high-contrast button,
body.high-contrast i {
    color: #ffff00 !important;
    /* Yellow for links/icons */
}