/* ============================================================
   Servidores Mikrotik — lista (tblServidores, srv-*, srv-action).
   Extraído de app.css.
   ============================================================ */
/* ============================================================
   Servidores Mikrotik — padrão Gerenciar Servidores
   ============================================================ */

#tblServidores thead th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8a94a6;
    font-weight: 600;
    border-bottom: 1px solid var(--app-border, #e5e7eb);
    white-space: nowrap;
    background: #f8fafc;
}

#tblServidores tbody td {
    vertical-align: middle;
    font-size: 13px;
}

.srv-name {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.srv-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 3px;
    flex-shrink: 0;
}

.srv-dot-online {
    background: var(--app-success, #16a34a);
}

.srv-dot-offline {
    background: var(--app-danger, #dc2626);
}

.srv-name-text {
    font-weight: 700;
    color: var(--app-text, #111827);
    display: block;
    line-height: 1.3;
}

.srv-name-sub {
    font-size: 12px;
    color: var(--app-text-muted, #6b7280);
    display: block;
}

.srv-host1 {
    color: #dc2626;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
}

.srv-empty-host {
    color: #94a3b8;
}

.srv-fw-pill {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
}

/* Botões de ação quadrados do padrão */
.srv-action {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 1px solid;
    background: #fff;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.srv-action:hover {
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.1);
}

.srv-action:disabled {
    opacity: 0.6;
    cursor: wait;
}

.srv-action-edit {
    border-color: #bfdbfe;
    color: var(--app-primary, #2563eb);
    background: #eff6ff;
}

.srv-action-test {
    border-color: var(--app-border, #e5e7eb);
    color: #64748b;
}

.srv-action-del {
    border-color: #fecaca;
    color: var(--app-danger, #dc2626);
    background: #fef2f2;
}
