/* =========================================================
   SIGMO WEB — CABEÇALHO DAS TELAS
   ========================================================= */

.sigmo-page-header {
    background: transparent !important;
    border: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.sigmo-page-header .x-panel-body {
    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0) 38%
        ),
        linear-gradient(
            105deg,
            #86182f 0%,
            #b92847 48%,
            #d33f5c 100%
        ) !important;

    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 12px !important;

    box-shadow:
        0 3px 10px rgba(99, 20, 40, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}


/* =========================================================
   TÍTULO PRINCIPAL DO CABEÇALHO
   ========================================================= */

.sigmo-page-title {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;

    box-sizing: border-box !important;
    padding: 6px 18px 0 18px !important;

    background: transparent !important;
    color: #ffffff !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1px !important;

    text-align: left !important;
    text-shadow: 0 1px 2px rgba(75, 8, 25, 0.22) !important;
}

.sigmo-page-title > span,
.sigmo-page-title > div {
    background: transparent !important;
    color: #ffffff !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1px !important;

    text-align: left !important;
    text-shadow: 0 1px 2px rgba(75, 8, 25, 0.22) !important;
}


/* =========================================================
   TÍTULO CENTRALIZADO
   Usado nas telas sem subtítulo
   ========================================================= */

.sigmo-page-title.sigmo-title-center {
    justify-content: center !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    text-align: center !important;
}

.sigmo-page-title.sigmo-title-center > span,
.sigmo-page-title.sigmo-title-center > div {
    text-align: center !important;
}

/* =========================================================
   SUBTÍTULO
   ========================================================= */

.sigmo-page-subtitle {
    box-sizing: border-box !important;
    padding: 0 18px 7px 57px !important;

    background: transparent !important;
    color: rgba(255, 255, 255, 0.82) !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 0.1px !important;

    line-height: 16px !important;
    text-align: left !important;
    text-shadow: 0 1px 1px rgba(75, 8, 25, 0.18) !important;
}

.sigmo-page-subtitle > span,
.sigmo-page-subtitle > div {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.82) !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: 0.1px !important;

    line-height: 16px !important;
    text-align: left !important;
}


/* =========================================================
   CONTADOR OPCIONAL
   ========================================================= */

.sigmo-page-counter {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    box-sizing: border-box !important;
    padding: 0 16px !important;

    /* O contador acompanha integralmente o gradiente do painel */
    background: transparent !important;

    border: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.20) !important;

    color: #ffffff !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1px !important;

    line-height: normal !important;
    white-space: nowrap !important;
    text-align: center !important;
    text-shadow: 0 1px 1px rgba(75, 8, 25, 0.18) !important;
}

.sigmo-page-counter > span,
.sigmo-page-counter > div {
    display: inline-block !important;

    background: transparent !important;
    color: #ffffff !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;

    line-height: normal !important;
    white-space: nowrap !important;
    text-align: center !important;
}

.sigmo-page-counter::before {
    content: "" !important;
    display: inline-block !important;
    flex: 0 0 17px !important;

    width: 17px !important;
    height: 17px !important;

    background-color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 17px 17px !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M3 5v6c0 1.66 4.03 3 9 3s9-1.34 9-3V5'/%3E%3Cpath d='M3 11v6c0 1.66 4.03 3 9 3s9-1.34 9-3v-6'/%3E%3C/svg%3E") !important;

    opacity: 0.90 !important;
}


/* =========================================================
   ÍCONE PADRÃO DO TÍTULO
   ========================================================= */

.sigmo-page-title::before {
    content: "" !important;
    display: inline-block !important;
    flex: 0 0 28px !important;

    width: 28px !important;
    height: 28px !important;

    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 8px !important;

    background-color: rgba(255, 255, 255, 0.13) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 17px 17px !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E") !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 1px 3px rgba(73, 9, 24, 0.14) !important;
}


/* =========================================================
   ÍCONES ESPECÍFICOS
   ========================================================= */

/* Funcionários */
.sigmo-page-title.sigmo-icon-employees::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") !important;
}

/* Empresas */
.sigmo-page-title.sigmo-icon-company::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='9' width='18' height='12' rx='1'/%3E%3Cpath d='M9 21V3h6v18'/%3E%3Cpath d='M7 13h2M7 17h2M15 13h2M15 17h2'/%3E%3C/svg%3E") !important;
}

/* Relatórios */
.sigmo-page-title.sigmo-icon-report::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h8M8 17h8M8 9h2'/%3E%3C/svg%3E") !important;
}

/* =========================================================
   ÍCONES ESPECÍFICOS DO CABEÇALHO
   ========================================================= */


/* Profissional médico */
.sigmo-page-title.sigmo-icon-doctor::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='6' r='4'/%3E%3Cpath d='M5 21v-2a7 7 0 0 1 14 0v2'/%3E%3Cpath d='M9 13l3 3 3-3'/%3E%3Cpath d='M12 16v5'/%3E%3C/svg%3E") !important;
}


/* Exames */
.sigmo-page-title.sigmo-icon-exams::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6'/%3E%3Cpath d='M10 3v6l-5 9a2 2 0 0 0 1.7 3h10.6a2 2 0 0 0 1.7-3l-5-9V3'/%3E%3Cpath d='M8 15h8'/%3E%3C/svg%3E") !important;
}


/* Riscos ocupacionais */
.sigmo-page-title.sigmo-icon-risks::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.7 2.2 18a2 2 0 0 0 1.8 3h16a2 2 0 0 0 1.8-3L13.7 3.7a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4'/%3E%3Ccircle cx='12' cy='17' r='1' fill='%23ffffff' stroke='none'/%3E%3C/svg%3E") !important;
}


/* Orçamentos */
.sigmo-page-title.sigmo-icon-budget::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12a2 2 0 0 1 2 2v18l-3-2-3 2-2-2-2 2-3-2-3 2V4a2 2 0 0 1 2-2z'/%3E%3Cpath d='M9 7h6'/%3E%3Cpath d='M9 11h6'/%3E%3Cpath d='M9 15h3'/%3E%3C/svg%3E") !important;
}

/* Configurações */
.sigmo-page-title.sigmo-icon-settings::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.88l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6 1.7 1.7 0 0 0-.4 1.1V21a2 2 0 1 1-4 0v-.09A1.7 1.7 0 0 0 8.6 19.4a1.7 1.7 0 0 0-1.88.34l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-.6-1 1.7 1.7 0 0 0-1.1-.4H3a2 2 0 1 1 0-4h.09A1.7 1.7 0 0 0 4.6 8.6a1.7 1.7 0 0 0-.34-1.88l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.7 1.7 0 0 0 9 4.6a1.7 1.7 0 0 0 1-.6 1.7 1.7 0 0 0 .4-1.1V3a2 2 0 1 1 4 0v.09A1.7 1.7 0 0 0 15.4 4.6a1.7 1.7 0 0 0 1.88-.34l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.7 1.7 0 0 0 19.4 9c.14.37.35.7.6 1 .28.3.67.48 1.1.5H21a2 2 0 1 1 0 4h-.09A1.7 1.7 0 0 0 19.4 15z'/%3E%3C/svg%3E") !important;
}