/* ============================================================
   portal-brand.css
   Estilos de marca VOXIS + operadora aplicados globalmente.
   Carregado depois do portal.css da skin para permitir override.
   ============================================================ */

.portal-wrapper {
    background: #f4f4f4;
    min-height: 100vh;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ── HEADER COM BANNER UNICO (topo_left.jpg) ──
   Background nao definido aqui de proposito: cada skin define
   a sua cor em portal.css, igualando o fundo da topo_left.jpg
   (padrao do SaudiWeb). Default herda do body (#f4f4f4).
   Padding 0 para a altura colar na imagem (sem gap). */
.header-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
    line-height: 0;
}
.topo-brand-img {
    height: 80px;
    width: auto;
    max-width: 100%;
    display: block;
}

/* ── BARRA VERDE COM TITULO ── */
.title-bar {
    background: #1d7a55;
    padding: 13px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.title-bar-accent {
    width: 4px;
    height: 22px;
    background: #f47920;
    border-radius: 3px;
    flex-shrink: 0;
}
.title-bar-text {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ── CARD SEGURADO ── */
.card-segurado {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.card-segurado-header {
    background: #1d7a55;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-segurado-title { color: #fff; font-size: 15px; font-weight: 600; }
.badge-ativo {
    background: #f47920;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.badge-inativo {
    background: #999;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.card-segurado-body { padding: 18px 20px; display: flex; gap: 48px; flex-wrap: wrap; }
.dado-item { line-height: 1.5; }
.dado-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.dado-value { font-size: 14px; color: #222; font-weight: 500; }
.dado-code { color: #1d7a55; font-size: 12px; margin-top: 2px; }

/* ── SECAO OPERACOES ── */
.section-label {
    font-size: 13px;
    color: #f47920;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e8e8;
}

/* ── GRID DE OPERACOES ── */
.ops-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 32px;
}
.op-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 28px 16px 22px;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.op-card:hover {
    border-color: #1d7a55;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(29,122,85,0.12);
    text-decoration: none;
}
.op-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.op-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f0faf5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d7a55;
    transition: background 0.18s;
    overflow: hidden;
}
.op-icon img {
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
}
.op-card:hover .op-icon { background: #1d7a55; }
.op-label { font-size: 13px; color: #333; font-weight: 500; line-height: 1.3; }
.op-desc { font-size: 11px; color: #999; line-height: 1.4; }

/* ── FOOTER ── */
.portal-footer {
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 13px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
}
.footer-powered {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #bbb;
}
.footer-voxis-name { color: #f47920; font-weight: 700; font-size: 13px; letter-spacing: 1.5px; }
.footer-dots { display: flex; gap: 3px; align-items: center; }
.fdot { width: 6px; height: 6px; border-radius: 50%; background: #f47920; }
.fdot2 { opacity: 0.6; }
.fdot3 { opacity: 0.3; }

/* ── RESPONSIVO ── */
@media (max-width: 768px) {
    .ops-grid { grid-template-columns: repeat(2, 1fr); }
    .card-segurado-body { gap: 20px; }
    .header-brand { padding: 10px 14px; }
    .title-bar { padding: 11px 14px; }
}
@media (max-width: 480px) {
    .ops-grid { grid-template-columns: 1fr; }
}
