body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #222;
}

.topo {
    background: #1E2A38;
    color: white;
    padding: 14px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topo a {
    color: #D4AF37;
    text-decoration: none;
}

.conteudo {
    padding: 24px;
}

.menu {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.menu a {
    background: white;
    border: 1px solid #ddd;
    padding: 12px 16px;
    border-radius: 6px;
    text-decoration: none;
    color: #1E2A38;
}

.menu a:hover {
    background: #eef2f6;
}

.login-body {
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    background: #1E2A38;
}

.login-box {
    background: white;
    padding: 28px;
    width: 360px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.25);
}

.login-box h1 {
    margin-top: 0;
    color: #1E2A38;
}

.login-box h2 {
    margin-bottom: 20px;
    font-weight: normal;
}

.login-box label {
    display: block;
    margin-top: 12px;
}

.login-box input {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    margin-top: 4px;
}

.login-box button {
    width: 100%;
    margin-top: 18px;
    padding: 11px;
    background: #1E2A38;
    color: white;
    border: none;
    cursor: pointer;
}

.login-box button:hover {
    background: #26384c;
}

.erro {
    background: #ffe1e1;
    color: #800;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 4px;
}

.bloco-form {
    background: white;
    border: 1px solid #ddd;
    padding: 18px;
    border-radius: 6px;
    margin-bottom: 28px;
    max-width: 760px;
}

.bloco-form label {
    display: block;
    margin-top: 12px;
    font-weight: bold;
}

.bloco-form input[type="text"],
.bloco-form input[type="email"],
.bloco-form input[type="password"],
.bloco-form input[type="date"],
.bloco-form select,
.bloco-form textarea {
    width: 100%;
    padding: 9px;
    box-sizing: border-box;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Arial, sans-serif;
}

.bloco-form textarea {
    resize: vertical;
}

.botoes-form {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.botoes-form button {
    padding: 10px 16px;
    background: #1E2A38;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.botoes-form button:hover {
    background: #26384c;
}

.botao-secundario {
    padding: 9px 14px;
    background: #eee;
    color: #1E2A38;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #ccc;
}

.botao-secundario:hover {
    background: #e0e0e0;
}

.tabela {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-top: 12px;
}

.tabela th,
.tabela td {
    border: 1px solid #ddd;
    padding: 9px;
    vertical-align: top;
    text-align: left;
}

.tabela th {
    background: #1E2A38;
    color: white;
}

.tabela tr:nth-child(even) {
    background: #f8f8f8;
}

.linha-inativa {
    color: #777;
    background: #f1f1f1 !important;
}

.acoes {
    white-space: nowrap;
}

.acoes a {
    color: #1E2A38;
    text-decoration: none;
}

.acoes a:hover {
    text-decoration: underline;
}

.sucesso {
    background: #e4f7e4;
    color: #246b24;
    padding: 10px;
    margin-bottom: 14px;
    border-radius: 4px;
    border: 1px solid #b7e2b7;
}

.checkbox-linha {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-weight: normal !important;
}

.checkbox-linha input {
    width: auto !important;
}

.aviso-status {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 7px;
    background: #fff1cc;
    color: #775500;
    border: 1px solid #e2c15d;
    border-radius: 4px;
    font-size: 0.9em;
}

.amostra-cor {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #999;
    vertical-align: middle;
    margin-right: 6px;
    border-radius: 3px;
}

.link-destaque {
    font-weight: bold;
    color: #1E2A38;
}

.kanban-board {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    overflow-x: auto;
    padding-bottom: 18px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

.kanban-coluna {
    background: #1E2A38;
    border: 1px solid #3C4A57;
    border-radius: 12px;
    min-width: 240px;
    flex: 1 1 240px;
}
.kanban-coluna-topo {
    background: white;
    border-top: 5px solid #1E2A38;
    border-bottom: 1px solid #d8dde3;
    padding: 12px;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.kanban-coluna-topo h2 {
    margin: 0;
    font-size: 1.05rem;
    padding-right: 38px;
}

.contador-cartoes {
    position: absolute;
    right: 12px;
    top: 10px;
    background: #1E2A38;
    color: white;
    min-width: 24px;
    text-align: center;
    padding: 3px 6px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.tag-final {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 7px;
    background: #e4f7e4;
    color: #246b24;
    border: 1px solid #b7e2b7;
    border-radius: 4px;
    font-size: 0.8rem;
}

.kanban-lista-cartoes {
    padding: 10px;
    min-height: 120px;
}

.kanban-vazio {
    color: #777;
    font-size: 0.92rem;
    padding: 10px;
    border: 1px dashed #bbb;
    border-radius: 6px;
    background: #f8f8f8;
}

.kanban-card {
    background: white;
    border: 1px solid #d9d9d9;
    border-left: 5px solid #1E2A38;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.kanban-card.card-vencido {
    border-left-color: #b00020;
    background: #fff7f7;
}

.kanban-card-titulo {
    font-weight: bold;
    margin-bottom: 8px;
}

.kanban-card-titulo a {
    color: #1E2A38;
    text-decoration: none;
}

.kanban-card-titulo a:hover {
    text-decoration: underline;
}

.kanban-card-linha {
    font-size: 0.9rem;
    margin-top: 4px;
}

.kanban-card-linha .label {
    font-weight: bold;
    color: #555;
}

.kanban-card-rodape {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    align-items: center;
}

.tag-prioridade,
.tag-status,
.tag-vencido {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 0.78rem;
}

.tag-status {
    background: #eef2f6;
    color: #1E2A38;
    border: 1px solid #ccd3da;
}

.tag-vencido {
    background: #b00020;
    color: white;
    margin-left: 6px;
}

.prioridade-baixa {
    background: #eeeeee;
    color: #555;
}

.prioridade-normal {
    background: #e8f0fe;
    color: #174ea6;
}

.prioridade-alta {
    background: #fff1cc;
    color: #775500;
}

.prioridade-urgente {
    background: #ffe1e1;
    color: #800;
}

.grade-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 12px 18px;
    margin-top: 8px;
}

.bloco-info {
    background: white;
    border: 1px solid #ddd;
    padding: 18px;
    border-radius: 6px;
    margin-top: 18px;
    max-width: 760px;
}

@media (max-width: 700px) {
    .grade-form {
        grid-template-columns: 1fr;
    }
}

.historico-box {
    margin-top: 28px;
    padding: 18px;
    border: 1px solid #3C4A57;
    border-radius: 12px;
    background: #1E2A38;
}

.historico-box h2 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #D4AF37;
    font-size: 1.25rem;
}

.texto-fraco {
    color: #b8c2cc;
}

.linha-do-tempo {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
}

.historico-item {
    display: block;
    margin-bottom: 14px;
    padding: 14px 16px;
    border: 1px solid #3C4A57;
    border-left: 5px solid #D4AF37;
    border-radius: 12px;
    background: #243447;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.historico-topo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.historico-data {
    color: #ffffff;
    font-weight: 700;
}

.historico-usuario {
    color: #d6dde5;
}

.historico-evento {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.evento-criacao {
    background: rgba(46, 160, 67, 0.22);
    color: #7ee787;
    border: 1px solid rgba(46, 160, 67, 0.55);
}

.evento-alteracao {
    background: rgba(212, 175, 55, 0.18);
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, 0.6);
}

.evento-outro {
    background: rgba(184, 194, 204, 0.16);
    color: #d0d7de;
    border: 1px solid rgba(184, 194, 204, 0.4);
}

.historico-descricao {
    color: #f1f5f9;
    line-height: 1.45;
}

.kanban-card {
    cursor: grab;
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card.arrastando {
    opacity: 0.55;
    transform: scale(0.98);
}

.kanban-cartoes {
    min-height: 80px;
    padding: 6px;
    border-radius: 10px;
}

.kanban-cartoes.coluna-destino {
    outline: 2px dashed #D4AF37;
    outline-offset: -4px;
    background: rgba(212, 175, 55, 0.08);
}

.cartao-id {
    color: #b8c2cc;
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 5px;
}

.form-box,
.lista-box {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid #3C4A57;
    border-radius: 12px;
    background: #1E2A38;
}

.form-box h2,
.lista-box h2 {
    margin-top: 0;
    color: #D4AF37;
}

.campo {
    margin-bottom: 14px;
}

.campo label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #e8edf2;
}

.campo input,
.campo select,
.campo textarea {
    width: 100%;
    max-width: 720px;
    padding: 9px 10px;
    border: 1px solid #3C4A57;
    border-radius: 8px;
    background: #243447;
    color: #f1f5f9;
    font-size: 1rem;
}

.campo textarea {
    resize: vertical;
}

.campo-checkbox {
    margin: 12px 0 18px;
    color: #e8edf2;
}

button,
.botao-secundario {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid #A67C00;
    border-radius: 8px;
    background: #D4AF37;
    color: #1E2A38;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.botao-secundario {
    margin-left: 8px;
    background: transparent;
    color: #D4AF37;
}

button:hover,
.botao-secundario:hover {
    filter: brightness(1.08);
}

.tabela {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    background: #243447;
    border-radius: 10px;
    overflow: hidden;
}

.tabela th,
.tabela td {
    padding: 10px 12px;
    border-bottom: 1px solid #3C4A57;
    text-align: left;
    vertical-align: top;
}

.tabela th {
    color: #D4AF37;
    background: #1A2430;
}

.tabela td {
    color: #f1f5f9;
}

.tabela tr:last-child td {
    border-bottom: none;
}

.sucesso {
    margin: 12px 0;
    padding: 12px 14px;
    border: 1px solid rgba(46, 160, 67, 0.55);
    border-radius: 10px;
    background: rgba(46, 160, 67, 0.18);
    color: #7ee787;
}

.erro {
    margin: 12px 0;
    padding: 12px 14px;
    border: 1px solid rgba(192, 57, 43, 0.65);
    border-radius: 10px;
    background: rgba(192, 57, 43, 0.18);
    color: #ffb4a8;
}

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

.form-box label {
    display: block;
    margin-top: 12px;
    margin-bottom: 6px;
    font-weight: 700;
    color: #e8edf2;
}

.form-box input[type="text"],
.form-box input[type="email"],
.form-box input[type="number"],
.form-box input[type="date"],
.form-box input[type="password"],
.form-box select,
.form-box textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #3C4A57;
    border-radius: 8px;
    background: #243447;
    color: #f1f5f9;
    font-size: 1rem;
}

.form-box textarea {
    min-height: 90px;
    resize: vertical;
}

.form-box input[type="checkbox"] {
    width: auto;
    margin-right: 6px;
}

.campo-checkbox label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

/* ======================================================
   Formulário de cartão
   ====================================================== */

.bloco-form {
    max-width: 980px;
    margin: 22px auto;
    padding: 24px;
    border: 1px solid #3C4A57;
    border-radius: 16px;
    background: #1E2A38;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.bloco-form form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bloco-form label {
    margin-top: 6px;
    color: #D4AF37;
    font-weight: 700;
    font-size: 0.95rem;
}

.bloco-form input[type="text"],
.bloco-form input[type="number"],
.bloco-form input[type="date"],
.bloco-form select,
.bloco-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #3C4A57;
    border-radius: 10px;
    background: #243447;
    color: #F4F4F4;
    font-size: 1rem;
}

.bloco-form textarea {
    min-height: 120px;
    resize: vertical;
}

.bloco-form input:focus,
.bloco-form select:focus,
.bloco-form textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.22);
}

.grade-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 22px;
    margin-top: 10px;
}

.grade-form label {
    margin-top: 0;
}

.bloco-form button,
.bloco-form .botao,
.bloco-form input[type="submit"] {
    align-self: flex-start;
    margin-top: 14px;
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    background: #D4AF37;
    color: #1E2A38;
    font-weight: 700;
    cursor: pointer;
}

.bloco-form button:hover,
.bloco-form .botao:hover,
.bloco-form input[type="submit"]:hover {
    background: #E6C75A;
}

@media (max-width: 760px) {
    .bloco-form {
        margin: 14px;
        padding: 18px;
    }

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

/* ======================================================
   Topo / cabeçalho
   ====================================================== */

.topo {
    max-width: 1180px;
    margin: 18px auto 0 auto;
    padding: 16px 22px;
    border: 1px solid #3C4A57;
    border-radius: 16px;
    background: #1E2A38;
    color: #F4F4F4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.topo strong {
    color: #D4AF37;
    font-size: 1.15rem;
}

.topo a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 700;
}

.topo a:hover {
    text-decoration: underline;
}

@media (max-width: 760px) {
    .topo {
        margin: 12px 14px 0 14px;
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ======================================================
   Cabeçalho interno da página
   ====================================================== */

.conteudo {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 0 40px 0;
}

.cabecalho-pagina {
    max-width: 980px;
    margin: 22px auto 18px auto;
    padding: 22px 24px;
    border: 1px solid #3C4A57;
    border-radius: 16px;
    background: #1E2A38;
    color: #F4F4F4;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.cabecalho-pagina h1 {
    margin: 0 0 8px 0;
    color: #D4AF37;
    font-size: 1.45rem;
}

.cabecalho-pagina p {
    margin: 0;
    color: #D8DEE6;
}

.acoes-pagina {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.acoes-pagina a {
    display: inline-block;
    padding: 9px 13px;
    border: 1px solid #D4AF37;
    border-radius: 10px;
    color: #D4AF37;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.acoes-pagina a:hover {
    background: rgba(212, 175, 55, 0.12);
}

@media (max-width: 760px) {
    .conteudo {
        padding: 14px;
    }

    .cabecalho-pagina {
        margin: 14px 0;
        padding: 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .acoes-pagina {
        justify-content: flex-start;
    }
}

/* ======================================================
   Blocos de listagem
   ====================================================== */

.bloco-lista {
    max-width: 980px;
    margin: 22px auto;
    padding: 24px;
    border: 1px solid #3C4A57;
    border-radius: 16px;
    background: #1E2A38;
    color: #F4F4F4;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.bloco-lista h2 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #D4AF37;
}

.bloco-lista table,
.bloco-lista .tabela {
    width: 100%;
    border-collapse: collapse;
}

.bloco-lista th,
.bloco-lista td,
.bloco-lista .tabela th,
.bloco-lista .tabela td {
    padding: 10px 12px;
    border-bottom: 1px solid #3C4A57;
    text-align: left;
}

.bloco-lista th,
.bloco-lista .tabela th {
    color: #D4AF37;
    font-weight: 700;
}

.bloco-lista a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 700;
}

.bloco-lista a:hover {
    text-decoration: underline;
}

.bloco-lista .tabela td {
    color: #F4F4F4;
    vertical-align: top;
}

.bloco-lista .tabela td:first-child {
    color: #D4AF37;
    font-weight: 700;
    white-space: nowrap;
}

.bloco-lista .tabela {
    table-layout: auto;
}

.bloco-lista {
    overflow-x: auto;
}

/* ======================================================
   Tabelas em tema escuro
   ====================================================== */

.bloco-lista .tabela {
    width: 100%;
    border-collapse: collapse;
    background: #1E2A38;
    color: #F4F4F4;
}

.bloco-lista .tabela thead tr {
    background: #243447;
}

.bloco-lista .tabela tbody tr {
    background: #1E2A38;
}

.bloco-lista .tabela tbody tr:nth-child(even) {
    background: #243447;
}

.bloco-lista .tabela tbody tr:hover {
    background: #2E4054;
}

.bloco-lista .tabela th,
.bloco-lista .tabela td {
    color: #F4F4F4;
    border-bottom: 1px solid #3C4A57;
}

.bloco-lista .tabela th {
    color: #D4AF37;
}

.checkbox-linha {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #F4F4F4;
    font-weight: 600;
}

.checkbox-linha input {
    transform: scale(1.1);
}

.botoes-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 12px;
}

/* ======================================================
   Tabelas gerais em tema escuro
   ====================================================== */

.tabela {
    width: 100%;
    border-collapse: collapse;
    background: #1E2A38;
    color: #F4F4F4;
}

.tabela thead tr {
    background: #243447;
}

.tabela tbody tr {
    background: #1E2A38 !important;
}

.tabela tbody tr:nth-child(even) {
    background: #243447 !important;
}

.tabela tbody tr:hover {
    background: #2E4054 !important;
}

.tabela th,
.tabela td {
    padding: 10px 12px;
    border-bottom: 1px solid #3C4A57;
    color: #F4F4F4 !important;
    text-align: left;
    vertical-align: top;
}

.tabela th {
    color: #D4AF37 !important;
    font-weight: 700;
}

.tabela a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 700;
}

.tabela a:hover {
    text-decoration: underline;
}/* ======================================================
   Tabelas gerais em tema escuro
   ====================================================== */

.tabela {
    width: 100%;
    border-collapse: collapse;
    background: #1E2A38;
    color: #F4F4F4;
}

.tabela thead tr {
    background: #243447;
}

.tabela tbody tr {
    background: #1E2A38 !important;
}

.tabela tbody tr:nth-child(even) {
    background: #243447 !important;
}

.tabela tbody tr:hover {
    background: #2E4054 !important;
}

.tabela th,
.tabela td {
    padding: 10px 12px;
    border-bottom: 1px solid #3C4A57;
    color: #F4F4F4 !important;
    text-align: left;
    vertical-align: top;
}

.tabela th {
    color: #D4AF37 !important;
    font-weight: 700;
}

.tabela a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 700;
}

.tabela a:hover {
    text-decoration: underline;
}

.acoes-pagina .link-destaque {
    background: #D4AF37;
    color: #1E2A38;
}

.acoes-pagina .link-destaque:hover {
    background: #E6C75A;
    color: #1E2A38;
    text-decoration: none;
}

.kanban-board {
    max-width: 100%;
}

.kanban-coluna {
    box-sizing: border-box;
}

/* ======================================================
   Conteúdo amplo para a tela do Kanban
   ====================================================== */

.conteudo-kanban {
    max-width: 1600px;
    padding-left: 22px;
    padding-right: 22px;
}

.conteudo-kanban .cabecalho-pagina {
    max-width: 1180px;
}

.conteudo-kanban .kanban-board {
    width: 100%;
}

/* ======================================================
   Filtros do Kanban
   ====================================================== */

.filtros-kanban {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #3C4A57;
}

.filtros-kanban label {
    color: #D4AF37;
    font-weight: 700;
    white-space: nowrap;
}

.filtros-kanban select {
    padding: 8px 10px;
    border: 1px solid #3C4A57;
    border-radius: 10px;
    background: #243447;
    color: #F4F4F4;
    max-width: 260px;
}

#id_cliente_filtro {
    min-width: 180px;
}

#id_projeto_filtro {
    min-width: 240px;
    max-width: 340px;
}

.filtros-kanban a {
    color: #D4AF37;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.filtros-kanban a:hover {
    text-decoration: underline;
}

/* ======================================================
   Login
   ====================================================== */

.login-body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top, rgba(212, 175, 55, 0.12), transparent 35%),
        #101820;
    color: #F4F4F4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
}

.login-container {
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
}

.login-box {
    max-width: 420px;
    margin: 0 auto;
    padding: 30px 28px;
    border: 1px solid #3C4A57;
    border-radius: 18px;
    background: #1E2A38;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
}

.login-titulo {
    margin-bottom: 22px;
    text-align: center;
}

.login-titulo h1 {
    margin: 0 0 8px 0;
    color: #D4AF37;
    font-size: 1.55rem;
}

.login-titulo p {
    margin: 0;
    color: #D8DEE6;
    font-size: 0.95rem;
}

.login-box h2 {
    margin: 0 0 18px 0;
    color: #F4F4F4;
    font-size: 1.2rem;
    text-align: center;
}

.login-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-box label {
    color: #D4AF37;
    font-weight: 700;
    font-size: 0.95rem;
}

.login-box input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #3C4A57;
    border-radius: 10px;
    background: #243447;
    color: #F4F4F4;
    font-size: 1rem;
}

.login-box input:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.22);
}

.login-box button {
    margin-top: 10px;
    padding: 11px 18px;
    border: none;
    border-radius: 10px;
    background: #D4AF37;
    color: #1E2A38;
    font-weight: 800;
    cursor: pointer;
}

.login-box button:hover {
    background: #E6C75A;
}

/* ======================================================
   Upload de arquivos
   ====================================================== */

.campo-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.campo-upload input[type="file"] {
    display: none;
}

.botao-upload {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    background: #D4AF37;
    color: #1E2A38 !important;
    font-weight: 700;
    cursor: pointer;
}

.botao-upload:hover {
    background: #E6C75A;
}

.nome-arquivo-upload {
    color: #D8DEE6;
    font-size: 0.95rem;
}