/* =============================================
   SIGNA-Q — VARIÁVEIS GLOBAIS E BASE
   Arquivo compartilhado por todas as páginas
   ============================================= */

:root {
    --cor-primaria: #013341;
    --cor-secundaria: #0056b3;
    --cor-fundo: #f4f7f9;
    --cor-card: #ffffff;
    --cor-texto: #333333;
    --cor-texto-claro: #666666;
    --cor-borda: #e0e0e0;
    --cor-erro: #dc3545;
    --cor-sucesso: #28a745;
    --cor-aviso: #ffc107;
    --cor-sombra: rgba(0, 0, 0, 0.08);
    --raio-borda: 8px;
}

/* --- SPINNER DE LOADING --- */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--cor-borda);
    border-top-color: var(--cor-primaria);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

.loading-row td {
    text-align: center;
    padding: 40px !important;
    color: #888;
    font-style: italic;
}

.loading-row .loading-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}