:root {
    --fonte: 'Poppins', system-ui, sans-serif;
    --primaria: #870000;
    --primaria-hover: #b71c1c;
    --primaria-suave: #fff5f5;
    --secundaria: #030758;
    --sucesso: #288e20;
    --sucesso-suave: #eff9ef;
    --erro: #d32f2f;
    --texto: #333333;
    --texto-secundario: #6b7280;
    --borda: #e3e6ea;
    --fundo-campo: #f9f9f9;
    --fundo-pagina: #EBF3F5;
    --branco: #ffffff;
    --sair: #3a4250;
    --raio-campo: 8px;
    --raio-card: 16px;
    --raio-botao: 999px;
    --sombra: 0 2px 12px rgba(16, 24, 40, .06);
    --anel-foco: 0 0 0 4px rgba(183, 28, 28, .13);
}
* { box-sizing: border-box; }
html { font-family: var(--fonte); color: var(--texto); background: var(--fundo-pagina); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-size: .875rem; line-height: 1.6; }
.cabecalho { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 4%; background: var(--branco); box-shadow: var(--sombra); }
.marca { display: flex; align-items: center; gap: 1rem; text-decoration: none; min-width: 0; }
.marca img { display: block; width: 220px; height: auto; }
.marca span { color: var(--texto-secundario); font-weight: 400; letter-spacing: .12em; font-size: .9rem; }
.conteudo { width: 100%; max-width: 1164px; margin: 2.5rem auto; padding: 0 2rem; flex: 1; }
.card { background: var(--branco); padding: 2rem; border-radius: var(--raio-card); box-shadow: var(--sombra); }
.card-formulario { max-width: 720px; margin: 0 auto; }
.titulo-pagina { display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--borda); padding-bottom: 1.5rem; margin-bottom: 1.75rem; }
.titulo-texto { flex: 1; min-width: 0; }
h1 { margin: 0; font-size: 1.5rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.titulo-texto p { margin: .35rem 0 0; color: var(--texto-secundario); font-size: .82rem; }
.icone-pagina { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; background: var(--primaria); color: var(--branco); border-radius: 12px; }
.icone-pagina svg { width: 26px; height: 26px; }
h2 { font-size: 1rem; font-weight: 600; margin: 0 0 .8rem; }
p { margin: 0 0 1rem; }
a { color: var(--secundaria); }
button, input, textarea { font: inherit; }
button, .botao { display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.4rem; border: 1px solid transparent; border-radius: var(--raio-botao); background: var(--primaria); color: var(--branco); font-weight: 500; text-decoration: none; line-height: 1.4; cursor: pointer; text-align: center; max-width: 100%; transition: background .15s, border-color .15s; }
button:hover, .botao:hover { background: var(--primaria-hover); }
.secundario { background: var(--branco); border-color: var(--borda); color: var(--texto); }
.secundario:hover { background: var(--primaria-suave); border-color: var(--primaria-hover); }
.pequeno { padding: .45rem .9rem; font-size: .75rem; white-space: nowrap; }
.botao-sair { background: var(--sair); padding: .45rem 1.1rem; font-size: .75rem; }
.botao-sair:hover { background: var(--texto); }
:where(a, button, input, textarea, [tabindex]):focus-visible { outline: 2px solid var(--primaria-hover); outline-offset: 3px; box-shadow: var(--anel-foco); }
label { display: block; color: var(--texto-secundario); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .45rem; }
input:not([type=checkbox]), textarea { width: 100%; min-width: 0; border: 1px solid var(--borda); border-radius: var(--raio-campo); background: var(--fundo-campo); color: var(--texto); padding: .8rem 1rem; }
input:focus, textarea:focus { border-color: var(--primaria); outline: none; box-shadow: var(--anel-foco); }
input[type=checkbox] { accent-color: var(--primaria); width: 18px; height: 18px; flex-shrink: 0; }
.cadastro { display: grid; gap: 1.4rem; }
.cadastro > button { justify-self: start; }
.dica { font-size: .78rem; color: var(--texto-secundario); margin: .5rem 0 0; }
.confirmacao { display: flex; align-items: flex-start; gap: .6rem; font-size: .82rem; text-transform: none; letter-spacing: normal; font-weight: 400; color: var(--texto); }
.acoes { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.busca { display: flex; align-items: flex-end; gap: .8rem; margin-bottom: 1.75rem; }
.campo-busca { flex: 1; max-width: 660px; }
.barra-busca { display: flex; gap: .5rem; align-items: center; border: 1px solid var(--borda); background: var(--fundo-campo); border-radius: var(--raio-botao); padding: .3rem; }
.barra-busca input { background: transparent; border: 0; border-radius: var(--raio-botao); padding: .5rem 1rem; }
.barra-busca button { padding: .6rem 1.2rem; flex-shrink: 0; }
.barra-busca:focus-within { border-color: var(--primaria); box-shadow: var(--anel-foco); }
.tabela-container { overflow-x: auto; border: 1px solid var(--borda); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 1rem .85rem; text-align: left; border-bottom: 1px solid var(--borda); }
th { font-size: .65rem; font-weight: 600; color: var(--texto-secundario); text-transform: uppercase; letter-spacing: .05em; background: var(--fundo-campo); white-space: nowrap; }
td { font-size: .8rem; }
td:nth-child(2), td:nth-child(4) { overflow-wrap: anywhere; min-width: 120px; }
td:nth-child(3) { white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--primaria-suave); }
.garagem-criada { background: var(--sucesso-suave); }
.estado-vazio { text-align: center; padding: 2rem 1rem; color: var(--texto-secundario); }
[role=alert], .aviso { padding: 1rem 1.25rem; background: var(--primaria-suave); border-left: 4px solid var(--erro); border-radius: var(--raio-campo); color: var(--texto); margin: 0 0 1.5rem; overflow-wrap: anywhere; }
[role=alert] ul { margin: 0; padding-left: 1.2rem; }
.validation-summary-valid { display: none; }
.sucesso { background: var(--sucesso-suave); border-left-color: var(--sucesso); }
.aviso p:last-child { margin-bottom: 0; }
.id-gerado { font-size: 1.8rem; font-weight: 600; line-height: 1.4; margin: .25rem 0 .6rem; color: var(--sucesso); }
.pagina-login .conteudo { display: flex; align-items: center; justify-content: center; }
.card-login { width: 100%; max-width: 420px; border-top: 4px solid var(--primaria); padding: 2.25rem 2rem; }
.card-login h1 { color: var(--primaria); font-size: 1.35rem; text-align: center; }
.subtitulo-login { text-align: center; color: var(--texto-secundario); font-size: .8rem; margin: .6rem 0 1.8rem; }
.card-login button { width: 100%; }
.bloco-aws { padding: 1.5rem; border: 1px solid var(--borda); border-radius: 12px; margin-bottom: 1.5rem; }
.bloco-aws h2 { color: var(--secundaria); }
.bloco-aws .campo { margin-bottom: 1.25rem; }
.campo-copia { display: flex; gap: .75rem; }
.campo-copia input { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.recursos-aws { margin: 1.25rem 0; }
.recursos-aws > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--borda); }
.recursos-aws dt { overflow-wrap: anywhere; min-width: 0; }
.recursos-aws dd { margin: 0; flex-shrink: 0; }
.selo { padding: .25rem .7rem; border-radius: var(--raio-botao); font-size: .75rem; }
.existe { background: var(--sucesso-suave); color: var(--sucesso); }
.falta { background: var(--primaria-suave); color: var(--erro); }
.passos { padding-left: 1.4rem; margin-bottom: 0; }
.passos li { padding-left: .3rem; margin-bottom: .75rem; overflow-wrap: anywhere; }
#resultado-copia { color: var(--sucesso); margin: .75rem 0 0; }
#resultado-copia:empty { display: none; }
footer { text-align: center; color: var(--texto-secundario); font-size: .75rem; padding: 1.5rem 1rem; }
@media (max-width: 600px) {
    .cabecalho { padding: 1rem; gap: .6rem; }
    .marca { gap: .45rem; flex-wrap: wrap; }
    .marca img { width: 160px; }
    .marca span { font-size: .65rem; letter-spacing: .06em; }
    .conteudo { margin: 1.25rem auto; padding: 0 1rem; }
    .card { padding: 1.25rem; }
    .titulo-pagina { flex-wrap: wrap; gap: .75rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; }
    .titulo-pagina > .botao { margin-left: 0; }
    .titulo-texto { flex-basis: calc(100% - 64px); }
    h1 { font-size: 1.25rem; }
    .busca { flex-wrap: wrap; }
    .campo-busca { flex-basis: 100%; }
    .barra-busca input { padding-left: .7rem; }
    .barra-busca button { padding: .6rem .9rem; }
    .acoes { align-items: stretch; }
    .acoes > .botao, .acoes > button, .acoes > form { width: 100%; }
    .acoes > form button { width: 100%; }
    th, td { padding: .75rem; }
    .card-login { padding: 1.75rem 1.25rem; }
    .bloco-aws { padding: 1rem; }
    .recursos-aws > div { align-items: flex-start; flex-direction: column; gap: .5rem; }
    .campo-copia { flex-wrap: wrap; }
    .campo-copia input { flex-basis: 100%; }
    .id-gerado { font-size: 1.5rem; }
}
