/* Fail2ban Plugin Styles */

.f2b-summary-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.f2b-badge {
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85em;
}

.f2b-svc-active   { background: #1a3a1a !important; color: #4caf50 !important; }
.f2b-svc-inactive { background: #3a1a1a !important; color: #f44336 !important; }
.f2b-svc-unknown  { background: #2a2a2a !important; color: #999 !important; }

.f2b-summary-item { color: #ccc !important; font-size: 0.9em; }

.f2b-val-ok   { color: #4caf50 !important; font-weight: bold; }
.f2b-val-warn { color: #ff7043 !important; font-weight: bold; }

.f2b-empty { color: #666 !important; font-style: italic; }

/* Jail rows */
.f2b-jail {
    border: 1px solid #333 !important;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: #1a1a2e !important;
}

.f2b-jail-recidive {
    border-color: #6a4a00 !important;
    background: #1e1a00 !important;
}

.f2b-jail-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.f2b-jail-name {
    font-weight: bold;
    color: #5bc0de !important;
    min-width: 90px;
}

.f2b-recidive-tag {
    font-size: 0.75em;
    font-weight: normal;
    color: #ffcc00 !important;
    background: #2a2200 !important;
    border-radius: 3px;
    padding: 1px 6px;
    margin-left: 4px;
}

.f2b-jail-stat {
    font-size: 0.88em;
}

.f2b-jail-stat-muted {
    font-size: 0.85em;
    color: #888 !important;
}

.f2b-ip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.f2b-ip-pill {
    font-family: monospace;
    font-size: 0.8em;
    background: #2a1414 !important;
    color: #ff8a65 !important;
    border: 1px solid #4a2020 !important;
    border-radius: 3px;
    padding: 1px 7px;
}
