/* Hellas Sat — text size control (topbar, next to the user menu) */
.hs-font-scale {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border-radius: 0.625rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.6);
    margin-inline-end: 0.5rem;
    /* Keep the control itself a fixed size regardless of the chosen scale. */
    font-size: 13px;
    line-height: 1;
}
.dark .hs-font-scale {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(148, 163, 184, 0.18);
}

.hs-font-scale__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #374151;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.dark .hs-font-scale__btn { color: #d1d5db; }
.hs-font-scale__btn:hover { background: rgba(0, 82, 155, 0.1); color: #00529B; }
.dark .hs-font-scale__btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.hs-font-scale__btn:disabled { opacity: 0.35; cursor: default; background: transparent; }
.hs-font-scale__btn:focus-visible { outline: 2px solid #0a7bd4; outline-offset: 1px; }

.hs-font-scale__btn--small { font-size: 11px; }
.hs-font-scale__btn--large { font-size: 15px; }

.hs-font-scale__value {
    min-width: 42px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: #6b7280;
    font-size: 11px;
    letter-spacing: 0.02em;
    cursor: pointer;
    border-radius: 0.5rem;
    padding: 0 4px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
}
.hs-font-scale__value:hover { color: #00529B; background: rgba(0, 82, 155, 0.08); }
.dark .hs-font-scale__value { color: #9ca3af; }
.dark .hs-font-scale__value:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

@media (max-width: 640px) {
    .hs-font-scale__value { display: none; }
}
