body {
    font-family: Arial, sans-serif;
    font-size: 10pt;
    margin: 20px;
    color: #222;
    background-color: #ffffff;
}

.pagina {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.topo-site h1 {
    color: #25706d;
    margin-top: 0;
    margin-bottom: 10px;
}

.selo-ssl {
    margin-bottom: 12px;
}

.intro {
    margin-bottom: 18px;
}

.intro p {
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.conteudo {
    margin-top: 10px;
}

h2, h3, h4 {
    color: #25706d;
}

p {
    margin: 0 0 10px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

td, th {
    border: 1px solid #ddd;
    padding: 10px;
    vertical-align: top;
}

ul {
    margin: 0;
    padding-left: 18px;
}

li {
    margin-bottom: 6px;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.rodape-site {
    margin-top: 25px;
    padding-top: 12px;
    border-top: 1px solid #ddd;
    font-size: 9pt;
    color: #666;
    line-height: 1.5;
}

.rodape-site a {
    text-decoration: none;
}

.rodape-site a:hover {
    text-decoration: underline;
}
.box {
    max-width: 760px;
    margin: 20px auto;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.descricao {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 14px;
}

.info {
    font-size: 14px;
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 10px 12px;
    margin: 12px 0 16px;
    line-height: 1.5;
}

.status {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
}

.sucesso {
    background: #ecfdf5;
    color: #166534;
}

.erro {
    background: #fef2f2;
    color: #991b1b;
}

label {
    display: block;
    margin: 10px 0 4px;
    font-size: 14px;
    font-weight: bold;
}

.hidden {
    display: none;
}

.drop-area {
    margin-top: 8px;
    padding: 18px;
    border: 2px dashed #94a3b8;
    border-radius: 10px;
    background: #f8fafc;
    text-align: center;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
}

.drop-area.dragover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
}

.acoes {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

button,
.botao-secundario {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

button[type="submit"] {
    background: #2563eb;
    color: #fff;
    margin-top: 12px;
}

.botao-secundario {
    background: #e5e7eb;
    color: #111827;
}

.lista-arquivos {
    margin-top: 12px;
    font-size: 14px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px 12px;
    display: none;
}

.item-arquivo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.item-arquivo:last-child {
    border-bottom: none;
}

.nome-arquivo {
    word-break: break-word;
    line-height: 1.35;
}

.btn-remover {
    background: #fee2e2;
    color: #991b1b;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    flex-shrink: 0;
}

.observacao {
    margin-top: 6px;
}
.preview-colada {
    margin-top: 12px;
    font-size: 14px;
    display: none;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px 12px;
}

.preview-colada img {
    max-width: 100%;
    max-height: 180px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    display: block;
    margin-top: 8px;
}

.linha-preview {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 10px;
}

.progresso-box {
    margin-top: 12px;
    display: none;
}

.progresso-label {
    font-size: 13px;
    margin-bottom: 6px;
    color: #334155;
}

.progresso-outer {
    width: 100%;
    height: 14px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.progresso-barra {
    width: 0%;
    height: 100%;
    background: #2563eb;
    transition: width 0.2s ease;
}

.progresso-texto {
    margin-top: 6px;
    font-size: 13px;
    color: #475569;
}
.info code {
    background: #e5e7eb;
    padding: 1px 5px;
    border-radius: 4px;
}
/* =========================================================
   AJUSTES ESPECÍFICOS DA PÁGINA EVERNOTE
   ========================================================= */

.box-evernote {
    max-width: 760px;
}

.box-evernote input[type="text"],
.box-evernote textarea,
.box-evernote input[type="file"] {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
}

.box-evernote textarea {
    min-height: 180px;
    resize: vertical;
}
/* =========================================================
  FIM DE AJUSTES ESPECÍFICOS DA PÁGINA EVERNOTE
   ========================================================= */

   /* ===== INÍCIO: estilos específicos da página _email.php ===== */
.box-email {
    max-width: 760px;
}

.box-email .descricao {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 14px;
}

.box-email .info {
    font-size: 14px;
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 10px 12px;
    margin: 12px 0 16px;
    line-height: 1.45;
}

.box-email .linha {
    margin-top: 8px;
}

.box-email .hidden {
    display: none;
}

.box-email .drop-area {
    margin-top: 8px;
    padding: 18px;
    border: 2px dashed #94a3b8;
    border-radius: 10px;
    background: #f8fafc;
    text-align: center;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    box-sizing: border-box;
    width: 100%;
}

.box-email .drop-area.dragover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
}

.box-email .acoes {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.box-email .botao-secundario {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    background: #e5e7eb;
    color: #111827;
}

.box-email .lista-arquivos {
    margin-top: 12px;
    font-size: 14px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px 12px;
    display: none;
}

.box-email .item-arquivo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.box-email .item-arquivo:last-child {
    border-bottom: none;
}

.box-email .nome-arquivo {
    word-break: break-word;
    line-height: 1.35;
}

.box-email .btn-remover {
    background: #fee2e2;
    color: #991b1b;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    flex-shrink: 0;
}

.box-email .preview-colada {
    margin-top: 12px;
    font-size: 14px;
    display: none;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px 12px;
}

.box-email .preview-colada img {
    max-width: 100%;
    max-height: 180px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    display: block;
    margin-top: 8px;
}

.box-email .linha-preview {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
/* ===== FIM: estilos específicos da página _email.php ===== */

/* ===== INÍCIO: ajuste dos campos da página _email.php ===== */
.box-email label {
    display: block;
    margin: 10px 0 4px;
    font-size: 14px;
    font-weight: bold;
}

.box-email input[type="text"],
.box-email input[type="email"],
.box-email select,
.box-email textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
    background: #fff;
    color: #1f2937;
}

.box-email textarea {
    height: 110px;
    resize: vertical;
}

.box-email button[type="submit"] {
    background: #2563eb;
    color: #fff;
    margin-top: 12px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}
/* ===== FIM: ajuste dos campos da página _email.php ===== */

/* ===== INÍCIO: estilos específicos compactos da página _evento.php ===== */
.box-evento-compacto {
    max-width: 620px;
    padding: 10px 12px 12px;
}

.box-evento-compacto h1 {
    margin: 0 0 8px;
    font-size: 22px;
}

.box-evento-compacto .status {
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
}

.box-evento-compacto .form-evento-compacto {
    margin: 0;
}

.box-evento-compacto .linha-campo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.box-evento-compacto .rotulo-lateral {
    width: 145px;
    min-width: 145px;
    text-align: right;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
}

.box-evento-compacto .rotulo-topo {
    align-self: flex-start;
    padding-top: 4px;
}

.box-evento-compacto .campo-flex {
    flex: 1;
    min-width: 0;
}

.box-evento-compacto input[type="text"],
.box-evento-compacto input[type="email"],
.box-evento-compacto input[type="date"],
.box-evento-compacto input[type="time"],
.box-evento-compacto textarea {
    padding: 5px 7px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
    background: #fff;
    color: #1f2937;
    margin: 0;
}

.box-evento-compacto input[type="text"],
.box-evento-compacto input[type="email"] {
    width: 100%;
}

.box-evento-compacto .convidados-bloco {
    width: 100%;
}

.box-evento-compacto .convidado-linha {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.box-evento-compacto .convidado-linha:last-child {
    margin-bottom: 0;
}

.box-evento-compacto .convidado-indice {
    width: 12px;
    min-width: 12px;
    text-align: right;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    margin: 0;
}

.box-evento-compacto .convidado-linha input[type="email"] {
    width: 100%;
    max-width: 420px;
}

.box-evento-compacto .linha-dupla {
    display: flex;
    gap: 14px;
    margin-bottom: 6px;
}

.box-evento-compacto .linha-campo-curta {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.box-evento-compacto .rotulo-curto {
    width: 78px;
    min-width: 78px;
}

.box-evento-compacto .campo-curto input[type="date"] {
    width: 150px;
}

.box-evento-compacto .campo-hora input[type="time"] {
    width: 110px;
}

.box-evento-compacto .bloco-observacoes {
    margin-top: 6px;
}

.box-evento-compacto .rotulo-superior {
    display: block;
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
}

.box-evento-compacto textarea {
    width: 100%;
    height: 90px;
    resize: vertical;
}

.box-evento-compacto .linha-botao {
    text-align: right;
    margin-top: 8px;
}

.box-evento-compacto button[type="submit"] {
    background: #2563eb;
    color: #fff;
    padding: 7px 14px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

@media (max-width: 700px) {
    .box-evento-compacto {
        max-width: 100%;
    }

    .box-evento-compacto .linha-campo,
    .box-evento-compacto .linha-dupla {
        display: block;
    }

    .box-evento-compacto .rotulo-lateral,
    .box-evento-compacto .rotulo-curto {
        width: auto;
        min-width: 0;
        text-align: left;
        margin-bottom: 3px;
    }

    .box-evento-compacto .campo-curto input[type="date"],
    .box-evento-compacto .campo-hora input[type="time"],
    .box-evento-compacto .convidado-linha input[type="email"] {
        width: 100%;
        max-width: 100%;
    }

    .box-evento-compacto .linha-campo-curta {
        margin-bottom: 6px;
    }
}
/* ===== FIM: estilos específicos compactos da página _evento.php ===== */

/* ===== INÍCIO: ajustes da página _evento.php para seletor de organizador ===== */
.box-evento-compacto select,
.box-evento-compacto input[type="text"],
.box-evento-compacto input[type="email"],
.box-evento-compacto input[type="date"],
.box-evento-compacto input[type="time"],
.box-evento-compacto textarea {
    padding: 5px 7px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
    background: #fff;
    color: #1f2937;
    margin: 0;
}

.box-evento-compacto select {
    width: 100%;
}

.box-evento-compacto .bloco-outro-email {
    margin-top: 4px;
}

.box-evento-compacto .bloco-outro-email input[type="email"] {
    width: 100%;
}
/* ===== FIM: ajustes da página _evento.php para seletor de organizador ===== */
/* ===== INÍCIO: estilos específicos da página _download_aberto.php ===== */
.box-download-aberto {
    max-width: 980px;
}

.box-download-aberto table {
    table-layout: auto;
}

.box-download-aberto td a {
    word-break: break-word;
}
/* ===== FIM: estilos específicos da página _download_aberto.php ===== */
/* ===== INÍCIO: estilos específicos da página _download_aberto.php ===== */
.box-download-aberto {
    max-width: calc(100vw - 8cm);
}

.box-download-aberto table {
    table-layout: auto;
    width: 100%;
}

.box-download-aberto .col-nome {
    width: 100%;
}

.box-download-aberto .col-tipo,
.box-download-aberto .col-tamanho,
.box-download-aberto .col-data {
    white-space: nowrap;
    width: 1%;
}

.box-download-aberto td a {
    word-break: break-word;
}
/* ===== FIM: estilos específicos da página _download_aberto.php ===== */
