/* Drobne poprawki do Bootstrapa 5.3 */
table.ranking th, table.ranking td { white-space: nowrap; }
table.ranking { font-variant-numeric: tabular-nums; }
.progress.wrp { height: 6px; width: 90px; margin-left: auto; }
.hidden { display: none; }
.badge-outline {
    border: 1px solid var(--bs-secondary);
    color: var(--bs-secondary);
    background: transparent;
    font-size: 0.65em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    vertical-align: middle;
}
.navbar .brand-logo { height: 32px; width: 32px; }

/* Wlasny kolor primary: granat zamiast niebieskiego Bootstrapa */
:root {
    --bs-primary: #1f4e79;
    --bs-primary-rgb: 31, 78, 121;
    --bs-link-color: #1f4e79;
    --bs-link-color-rgb: 31, 78, 121;
    --bs-link-hover-color: #163a5a;
    --bs-link-hover-color-rgb: 22, 58, 90;
}
.btn-primary {
    --bs-btn-bg: #1f4e79;
    --bs-btn-border-color: #1f4e79;
    --bs-btn-hover-bg: #173c5e;
    --bs-btn-hover-border-color: #173c5e;
    --bs-btn-active-bg: #12304b;
    --bs-btn-active-border-color: #12304b;
}
.btn-outline-primary {
    --bs-btn-color: #1f4e79;
    --bs-btn-border-color: #1f4e79;
    --bs-btn-hover-bg: #1f4e79;
    --bs-btn-hover-border-color: #1f4e79;
    --bs-btn-active-bg: #1f4e79;
    --bs-btn-active-border-color: #1f4e79;
}
.text-primary { color: #1f4e79 !important; }
.navbar-brand { color: #1f4e79; font-weight: 600; }
.navbar .nav-link.active, .navbar .nav-link:hover { color: #1f4e79; }
.tab-content > .tab-pane { display: none; }
.tab-content > .tab-pane.active { display: block; }
footer .build { font-size: 0.75rem; opacity: 0.8; }

/* Overlay na czas dłuższych akcji w panelu */
.busy-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
}
.busy-box {
    text-align: center;
    max-width: 420px;
    padding: 24px 32px;
    background: #fff;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}
