/* ===================================================================
   Central Unificada de Clientes (CUC) - MagoWeb
   assets/css/estilo.css
   =================================================================== */

:root {
    --cuc-bg:      #f4f6f9;
    --cuc-borda:   #e3e6ec;
    --cuc-texto:   #2b3445;
}

body {
    background-color: var(--cuc-bg);
    color: var(--cuc-texto);
    font-size: 0.95rem;
}

/* ---------- Tela de login ---------- */
.tela-login {
    background: linear-gradient(135deg, #1f2937 0%, #0d6efd 100%);
}

.card-login {
    border: none;
    border-radius: 14px;
}

.login-icone {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

/* ---------- Cartoes ---------- */
.card {
    border: 1px solid var(--cuc-borda);
    border-radius: 10px;
}

.card-indicador .h3 {
    font-weight: 600;
}

.card-header {
    border-bottom: 1px solid var(--cuc-borda);
}

/* ---------- Tabelas ---------- */
.table > :not(caption) > * > * {
    padding: 0.6rem 0.75rem;
}

.table thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #6b7280;
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- Selos de origem ---------- */
.selo-origem {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

/* ---------- Situacao do registro ---------- */
.linha-quarentena {
    background-color: #fff8e1 !important;
}

.linha-descartado {
    opacity: 0.55;
}

/* ---------- Formularios ---------- */
.form-label {
    font-weight: 500;
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
}

.input-group-text {
    background-color: #fff;
}

/* ---------- Utilidades ---------- */
.texto-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.88rem;
}

.cursor-pointer {
    cursor: pointer;
}

@media (max-width: 576px) {
    body { font-size: 0.9rem; }
    .h4 { font-size: 1.1rem; }
}
