/* ─── territory_balance.css ─────────────────────────────────────────── */
.balance-modes-grid-clean {
    display: flex;
    gap: .3rem;
    margin-bottom: .8rem;
    background: rgba(255,255,255,.05);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--border2);
}

.balance-panel-container {
    padding: 1rem;
    color: var(--text3);
}

.tb-mode-pill {
    flex: 1;
    padding: .35rem;
    font-size: .62rem;
    border-radius: 7px;
    border: none;
    background: none;
    color: var(--text3);
    cursor: pointer;
    font-weight: 700;
    transition: all .2s;
    text-transform: uppercase;
}

.tb-mode-pill:hover:not(.active) {
    background: rgba(255,255,255,.05);
}

.tb-mode-pill.active {
    background: #f59e0b !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.gt-field {
    margin-bottom: 0.8rem;
}

.gt-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.gt-select, .gt-input {
    width: 100%;
    padding: 0.45rem;
    font-size: 0.75rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border2);
    border-radius: 5px;
    color: #fff;
    outline: none;
}

.gt-select:focus, .gt-input:focus {
    border-color: #f59e0b;
}

.result-badge {
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    text-align: center;
    font-weight: 700;
}

.rb-ok {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.btn-balance-run {
    width: 100%;
    margin-top: 0.8rem;
    background: #f59e0b;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    padding: 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.1s;
}

.btn-balance-run:hover {
    filter: brightness(1.1);
}

.btn-balance-run:active {
    transform: scale(0.98);
}
