:root {
    --pub-color-base: #ECF0F5;
    --pub-color-primary: #007DB3;
    --pub-color-primary-dark: #03244E;
    --pub-color-accent: #F06292;
    --pub-color-success: #00796B;
    --pub-container-max-width: 1200px;
    --es-footer-bg-color: #302e2e;
    --es-footer-fg-color: #CCCCCC;
}

html,
body.pub-layout {
    min-height: 100vh;
}
body.pub-layout {
    display: flex;
    flex-direction: column;
    background-color: var(--pub-color-base);
    font-family: "Open Sans", sans-serif;
}
.pub-main {
    flex: 1 0 auto;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}
.pub-main .container {
    max-width: var(--pub-container-max-width);
}
.envbar {
    height: 4px;
    z-index: 9990;
}
.btn-primary {
    background-color: var(--pub-color-primary);
    border-color: var(--pub-color-primary);
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: #006694;
    border-color: #006694;
}
.btn-accent {
    background-color: #e65100;
    border-color: #e65100;
    color: #fff;
}

.btn-accent:hover {
    background-color: #bf360c;
    border-color: #bf360c;
    color: #fff;
}

/* #region FOOTER */
.es-footer {
    position: sticky;
    top: 100%;
    color: var(--es-footer-fg-color);
    background-color: var(--es-footer-bg-color);
    padding: 2rem 0;
    text-align: center;
    font-size: 1.15rem;
}

.es-footer .es-footer-row {
    display: flex;
    align-items: center;
}

    .es-footer .es-footer-row .sistema-area img {
        max-height: 30px;
        margin: 7px;
    }

    .es-footer .es-footer-row .logo-prodest img {
        max-height: 75px;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: -moz-crisp-edges;
    }

    .es-footer .es-footer-row .orgao-descricao {
        margin: 4px;
    }

@media (max-width: 991px) { /*lg*/
    .es-footer .es-footer-row .es-footer-col {
        margin: 15px 0px;
    }
}

/* #endregion */

/* #region container especializado */

.es-container {
    width: 95%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 991px) { /*lg*/
    .es-container {
        width: 100%;
        padding: 0;
    }
}

@media (min-width: 1921px) {
    .es-container {
        max-width: var(--es-container-bkp-max-width);
    }
}

.es-navbar > .es-container {
    width: 95%;
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 1921px) {
    .es-navbar > .es-container {
        max-width: var(--es-container-bkp-max-width);
    }
}

/* #endregion */
.loading-splash {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-crime {
    border: none;
    border-radius: 0.75rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    height: 100%;
}
.card-crime:hover:not(.card-crime-desabilitado) {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.card-crime-desabilitado {
    opacity: 0.65;
    cursor: not-allowed;
}
.icone-crime {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.card-crime-titulo {
    font-size: 0.78rem;
    line-height: 1.25;
    color: #333;
}
@media (min-width: 768px) {
    .icone-crime {
        width: 100px;
        height: 100px;
        font-size: 3.35rem;
    }
    .card-crime-titulo {
        font-size: 0.85rem;
    }
}
.banner-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
}
.pagina-informativa {
    max-width: 720px;
    margin: 0 auto;
}
.pagina-informativa h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

/* Confirmação pós-envio (inspirado no E-OUV) */
@keyframes pub-splash {
    0% { opacity: 0.5; }
    10% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; }
}

.splash-message {
    position: fixed;
    inset: 0;
    background-color: var(--pub-color-primary-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    pointer-events: none;
    animation: pub-splash 2s forwards;
}

.splash-message-conteudo {
    text-align: center;
    color: #fff;
}

.splash-icone {
    width: 13rem;
    height: 13rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 195, 247, 0.12);
    border: 2px solid rgba(79, 195, 247, 0.35);
}

.splash-icone i {
    font-size: 6.5rem;
    color: #4FC3F7;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.splash-texto {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container-confirmacao {
    max-width: 900px;
}

.confirmacao-titulo-sucesso {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #444;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.confirmacao-check {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: #e8f5e9;
    color: #66bb6a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
}

.confirmacao-obrigado {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1a3a4a;
}

.confirmacao-texto {
    color: #1a3a4a;
    line-height: 1.55;
}

.protocolo {
    background-color: #e7f5fb !important;
    color: #1a3a4a;
    border-radius: 0.75rem;
    padding: 1.5rem 1.75rem;
}

.protocolo-caixa {
    border: 1px solid rgba(0, 125, 179, 0.15);
}

.protocol-number,
.access-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pub-color-primary-dark);
    word-break: break-all;
    margin-top: 0.25rem;
}

.confirmacao-anonimato {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
    margin-top: 1rem;
}

.confirmacao-anonimato i {
    color: var(--pub-color-primary);
    flex-shrink: 0;
}

.btn-acoes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    min-width: 14rem;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.4rem;
    text-decoration: none;
}

.btn-comprovante {
    background-color: var(--pub-color-primary);
    border-color: var(--pub-color-primary);
    color: #fff;
}

.btn-comprovante:hover {
    background-color: #006694;
    border-color: #006694;
    color: #fff;
}

.confirmacao-acoes {
    justify-content: center;
}

@media (max-width: 575px) {
    .confirmacao-check {
        margin: 0 auto;
    }

    .confirmacao-acoes .btn {
        width: 100%;
        min-width: 0;
    }
}

@media print {
    .splash-message,
    .confirmacao-acoes,
    .es-footer,
    .es-navbar,
    .banner-ambiente {
        display: none !important;
    }

    .protocolo {
        box-shadow: none !important;
    }
}

.ambiente-dev {
    border-left: 3px solid green;
    border-right: 3px solid green;
    border-bottom: 4px solid green;
    min-height: 100vh;
    box-sizing: border-box;
}
.ambiente-hom {
    border-left: 3px solid #ffc107;
    border-right: 3px solid #ffc107;
    border-bottom: 4px solid #ffc107;
    min-height: 100vh;
    box-sizing: border-box;
}
.banner-ambiente {
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    width: 100%;
}
.banner-ambiente.dev {
    color: #fff;
    background-color: green;
}
.banner-ambiente.hom {
    color: #000;
    background-color: #ffc107;
}
@media (max-width: 767px) {
    .pub-logo-texto {
        font-size: 0.9rem;
    }
}
