/* ===================================================== */
/*                PÁGINA FALE CONOSCO                    */
/* ===================================================== */

.contato-pagina
{
    padding:
        50px
        8%
        80px
        8%;
}

.contato-introducao
{
    max-width: 900px;

    margin:
        0
        auto
        40px
        auto;

    text-align: center;
}

.contato-tag
{
    display: inline-block;

    margin-bottom: 20px;

    padding: 8px 14px;

    border: 1px solid rgba(0, 217, 255, 0.4);

    border-radius: 20px;

    color: #00d9ff;

    font-size: 14px;
}

.contato-introducao h1
{
    margin-bottom: 22px;

    color: #ffffff;

    font-size: 46px;
}

.contato-introducao p
{
    max-width: 820px;

    margin:
        0
        auto
        16px
        auto;

    color: #b9c7d9;

    font-size: 17px;

    line-height: 1.7;
}

.aviso-protocolo
{
    max-width: 820px;

    margin:
        26px
        auto
        0
        auto;

    padding: 18px 20px;

    border: 1px solid rgba(0, 217, 255, 0.25);

    border-radius: 14px;

    background:
        radial-gradient(
            circle at top left,
            rgba(0, 217, 255, 0.10),
            transparent 55%
        ),
        #0d1424;

    color: #b9c7d9;

    line-height: 1.6;
}

.aviso-protocolo strong
{
    color: #00d9ff;
}

.contato-grade
{
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px;

    align-items: start;
}

.contato-card
{
    padding: 32px;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at top left,
            rgba(0, 217, 255, 0.08),
            transparent 45%
        ),
        #0d1424;

    border: 1px solid rgba(0, 217, 255, 0.22);

    box-shadow:
        0
        0
        40px
        rgba(0, 217, 255, 0.07);
}

.contato-card h2
{
    margin-bottom: 24px;

    color: #00d9ff;

    font-size: 28px;
}

.formulario-contato
{
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.formulario-contato label
{
    margin-top: 6px;

    color: #d8e8ff;

    font-size: 15px;

    font-weight: bold;
}

.formulario-contato label span
{
    color: #8da1b8;

    font-size: 13px;

    font-weight: normal;
}

.formulario-contato input,
.formulario-contato textarea
{
    width: 100%;

    padding: 14px 15px;

    border: 1px solid rgba(0, 217, 255, 0.20);

    border-radius: 10px;

    background: #070b14;

    color: #ffffff;

    font: inherit;
}

.formulario-contato textarea
{
    min-height: 180px;

    resize: vertical;

    line-height: 1.55;
}

.formulario-contato input::placeholder,
.formulario-contato textarea::placeholder
{
    color: #68798d;
}

.formulario-contato input:focus,
.formulario-contato textarea:focus
{
    outline: none;

    border-color: #00d9ff;

    box-shadow:
        0
        0
        0
        3px
        rgba(0, 217, 255, 0.10);
}

.contador-caracteres
{
    color: #8da1b8;

    font-size: 13px;

    text-align: right;
}

.botao-principal,
.botao-secundario
{
    min-height: 46px;

    padding: 12px 18px;

    border-radius: 10px;

    font: inherit;

    font-weight: bold;

    cursor: pointer;
}

.botao-principal
{
    margin-top: 8px;

    border: 1px solid #00d9ff;

    background: #00d9ff;

    color: #07101f;
}

.botao-principal:hover
{
    background: #5ee9ff;

    border-color: #5ee9ff;
}

.botao-secundario
{
    border: 1px solid #00d9ff;

    background: transparent;

    color: #00d9ff;
}

.botao-secundario:hover
{
    background: #00d9ff;

    color: #07101f;
}

.mensagem
{
    margin:
        18px
        0;

    padding: 16px 18px;

    border-radius: 12px;

    line-height: 1.55;
}

.mensagem p
{
    margin-bottom: 10px;
}

.mensagem p:last-child
{
    margin-bottom: 0;
}

.mensagem-sucesso
{
    border: 1px solid rgba(58, 214, 123, 0.35);

    background: rgba(26, 106, 61, 0.18);

    color: #bff5d2;
}

.mensagem-erro
{
    border: 1px solid rgba(255, 99, 99, 0.35);

    background: rgba(128, 31, 31, 0.20);

    color: #ffc2c2;
}

.mensagem-aviso
{
    border: 1px solid rgba(255, 198, 70, 0.35);

    background: rgba(120, 86, 0, 0.18);

    color: #ffe6a8;
}

.codigo-protocolo
{
    margin:
        16px
        0;

    padding: 16px;

    border: 1px dashed #00d9ff;

    border-radius: 10px;

    background: #070b14;

    color: #00d9ff;

    font-family: Consolas, monospace;

    font-size: 22px;

    font-weight: bold;

    letter-spacing: 2px;

    text-align: center;

    word-break: break-word;
}

.texto-menor
{
    color: #b9c7d9;

    font-size: 14px;
}

.resultado-consulta
{
    margin-top: 24px;
}

.status-linha
{
    margin-bottom: 20px;

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    color: #d8e8ff;
}

.status
{
    padding: 6px 10px;

    border-radius: 20px;

    font-size: 13px;

    font-weight: bold;
}

.status-aguardando
{
    border: 1px solid rgba(255, 198, 70, 0.35);

    background: rgba(120, 86, 0, 0.18);

    color: #ffe6a8;
}

.status-respondido
{
    border: 1px solid rgba(58, 214, 123, 0.35);

    background: rgba(26, 106, 61, 0.18);

    color: #bff5d2;
}

.resultado-consulta > p
{
    margin-bottom: 16px;

    color: #b9c7d9;

    line-height: 1.6;
}

.resultado-consulta strong
{
    color: #d8e8ff;
}

.bloco-texto
{
    margin:
        18px
        0;

    padding: 18px;

    border: 1px solid rgba(0, 217, 255, 0.16);

    border-radius: 12px;

    background: #070b14;
}

.bloco-texto strong
{
    color: #00d9ff;
}

.bloco-texto p
{
    margin-top: 12px;

    color: #c8d6e8;

    line-height: 1.65;
}

.resposta
{
    border-color: rgba(58, 214, 123, 0.25);
}

.resposta strong
{
    color: #75eea8;
}

/* ===================================================== */
/*              ÁREA ADMINISTRATIVA                      */
/* ===================================================== */

.admin-body
{
    min-height: 100vh;

    padding:
        45px
        0;

    background: #070b14;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
}

.admin-pagina,
.admin-login
{
    width:
        min(
            980px,
            calc(100% - 32px)
        );

    margin: 0 auto;
}

.admin-login
{
    max-width: 520px;

    margin-top: 8vh;

    padding: 32px;

    border-radius: 20px;

    background: #0d1424;

    border: 1px solid rgba(0, 217, 255, 0.22);

    box-shadow:
        0
        0
        40px
        rgba(0, 217, 255, 0.07);
}

.admin-login h1,
.admin-pagina h1
{
    color: #00d9ff;
}

.admin-login h1
{
    margin-bottom: 24px;

    font-size: 32px;
}

.admin-topo
{
    margin-bottom: 26px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.admin-topo p
{
    margin-top: 8px;

    color: #8da1b8;
}

.admin-card
{
    margin-bottom: 24px;

    padding: 28px;

    border-radius: 18px;

    background: #0d1424;

    border: 1px solid rgba(0, 217, 255, 0.18);
}

.admin-card p
{
    margin-bottom: 12px;

    color: #b9c7d9;

    line-height: 1.6;
}

.admin-card strong
{
    color: #d8e8ff;
}

.admin-meta
{
    margin-bottom: 18px;

    padding-bottom: 16px;

    display: flex;

    flex-wrap: wrap;

    gap: 12px 20px;

    border-bottom: 1px solid rgba(0, 217, 255, 0.15);

    color: #8da1b8;
}

.admin-meta strong
{
    color: #00d9ff;
}

/* ===================================================== */
/*                    RESPONSIVIDADE                     */
/* ===================================================== */

@media (max-width: 900px)
{
    .contato-pagina
    {
        padding:
            40px
            5%
            60px
            5%;
    }

    .contato-introducao h1
    {
        font-size: 38px;
    }

    .contato-grade
    {
        grid-template-columns: 1fr;
    }

    .contato-card
    {
        padding: 26px 22px;
    }

    .admin-topo
    {
        align-items: flex-start;

        flex-direction: column;
    }
}


/* ===================================================== */
/*            PAINEL ADMINISTRATIVO ORGANIZADO           */
/* ===================================================== */

.admin-resumo
{
    margin-bottom: 30px;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.resumo-card
{
    min-height: 135px;

    padding: 24px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    border-radius: 18px;

    background: #0d1424;

    text-decoration: none;

    transition:
        transform 0.15s ease,
        border-color 0.15s ease;
}

.resumo-card:hover
{
    transform: translateY(-2px);
}

.resumo-card span
{
    color: #b9c7d9;

    font-size: 15px;
}

.resumo-card strong
{
    color: #ffffff;

    font-size: 42px;
}

.resumo-aguardando
{
    border: 1px solid rgba(255, 198, 70, 0.30);
}

.resumo-respondido
{
    border: 1px solid rgba(58, 214, 123, 0.30);
}

.resumo-total
{
    border: 1px solid rgba(0, 217, 255, 0.25);
}

.admin-listagem
{
    padding: 28px;

    border-radius: 20px;

    background: #0d1424;

    border: 1px solid rgba(0, 217, 255, 0.18);
}

.admin-listagem-topo
{
    margin-bottom: 24px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;
}

.admin-listagem-topo h2
{
    margin-bottom: 8px;

    color: #00d9ff;

    font-size: 27px;
}

.admin-listagem-topo p
{
    color: #8da1b8;

    line-height: 1.5;
}

.admin-listagem-topo p strong
{
    color: #d8e8ff;
}

.admin-filtros
{
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.admin-filtros a
{
    padding: 9px 13px;

    border: 1px solid rgba(0, 217, 255, 0.18);

    border-radius: 9px;

    color: #b9c7d9;

    text-decoration: none;
}

.admin-filtros a:hover,
.admin-filtros a.ativo
{
    border-color: #00d9ff;

    background: rgba(0, 217, 255, 0.10);

    color: #00d9ff;
}

.tabela-container
{
    overflow-x: auto;
}

.tabela-atendimentos
{
    width: 100%;

    border-collapse: collapse;
}

.tabela-atendimentos th,
.tabela-atendimentos td
{
    padding:
        16px
        14px;

    border-bottom: 1px solid rgba(0, 217, 255, 0.10);

    text-align: left;

    vertical-align: middle;
}

.tabela-atendimentos th
{
    color: #8da1b8;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 0.05em;
}

.tabela-atendimentos td
{
    color: #c8d6e8;

    line-height: 1.45;
}

.tabela-atendimentos tbody tr:hover
{
    background: rgba(0, 217, 255, 0.035);
}

.protocolo-tabela
{
    color: #00d9ff;

    font-family: Consolas, monospace;

    letter-spacing: 0.04em;
}

.coluna-acao
{
    text-align: right !important;
}

.botao-tabela
{
    display: inline-block;

    padding: 9px 13px;

    border: 1px solid #00d9ff;

    border-radius: 9px;

    color: #00d9ff;

    font-size: 14px;

    font-weight: bold;

    text-decoration: none;
}

.botao-tabela:hover
{
    background: #00d9ff;

    color: #07101f;
}

.admin-vazio
{
    padding: 40px 20px;

    color: #8da1b8;

    text-align: center;
}

/* ===================================================== */
/*             PÁGINA INDIVIDUAL DO ATENDIMENTO          */
/* ===================================================== */

.atendimento-pagina
{
    max-width: 900px;
}

.atendimento-navegacao
{
    margin-bottom: 24px;
}

.atendimento-navegacao .botao-secundario
{
    display: inline-flex;

    text-decoration: none;
}

.atendimento-topo
{
    align-items: flex-end;
}

.atendimento-topo h1
{
    margin-top: 10px;

    font-family: Consolas, monospace;

    font-size: clamp(27px, 5vw, 42px);

    letter-spacing: 0.04em;
}

.detalhes-atendimento
{
    display: flex;

    flex-direction: column;

    gap: 22px;
}

.detalhes-atendimento .admin-card
{
    margin-bottom: 0;
}

.detalhes-atendimento .admin-card h2
{
    margin-bottom: 20px;

    color: #00d9ff;

    font-size: 25px;
}

.lista-detalhes
{
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.lista-detalhes div
{
    padding: 16px;

    border: 1px solid rgba(0, 217, 255, 0.12);

    border-radius: 12px;

    background: #070b14;
}

.lista-detalhes dt
{
    margin-bottom: 8px;

    color: #8da1b8;

    font-size: 13px;

    font-weight: bold;

    text-transform: uppercase;
}

.lista-detalhes dd
{
    margin: 0;

    color: #d8e8ff;

    line-height: 1.5;

    word-break: break-word;
}

.mensagem-recebida
{
    margin-bottom: 0;
}

.mensagem-recebida p
{
    margin-top: 0;
}

.ajuda-resposta
{
    margin-bottom: 18px !important;

    color: #8da1b8 !important;
}

@media (max-width: 760px)
{
    .admin-resumo
    {
        grid-template-columns: 1fr;
    }

    .resumo-card
    {
        min-height: 110px;
    }

    .admin-listagem
    {
        padding: 22px 18px;
    }

    .admin-listagem-topo
    {
        align-items: flex-start;

        flex-direction: column;
    }

    .tabela-atendimentos thead
    {
        display: none;
    }

    .tabela-atendimentos,
    .tabela-atendimentos tbody,
    .tabela-atendimentos tr,
    .tabela-atendimentos td
    {
        display: block;

        width: 100%;
    }

    .tabela-atendimentos tr
    {
        margin-bottom: 18px;

        padding: 14px;

        border: 1px solid rgba(0, 217, 255, 0.14);

        border-radius: 12px;

        background: #070b14;
    }

    .tabela-atendimentos td
    {
        padding: 9px 0;

        border: none;

        text-align: left !important;
    }

    .tabela-atendimentos td::before
    {
        display: block;

        margin-bottom: 5px;

        color: #68798d;

        content: attr(data-label);

        font-size: 12px;

        font-weight: bold;

        text-transform: uppercase;
    }

    .lista-detalhes
    {
        grid-template-columns: 1fr;
    }

    .atendimento-topo
    {
        align-items: flex-start;
    }
}
