/* Garantir que a página ocupe pelo menos toda a altura da tela */
html {
    height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* Ajuste para o conteúdo principal */
.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

/* Centralizar o conteúdo */
.content-centered {
    align-items: center;
    text-align: center;
}

/* Estilo do footer para garantir que ele fique no final da página */
footer.footer {
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
    background-color: #000000;
    color: white;
    padding: 10px 0px;
    text-align: center;
    box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.8rem;
}

.page-wrapper {
    width: 100%;
}

@media (max-width: 768px) {
    main {
        background-attachment: scroll !important;
    }
}

/* Hero / imagem de chamada: full-width, cover, alturas por breakpoint (≤576 / 577–991 / 992–1439 / 1440+) */
.event-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-height: 200px;
}

.event-banner__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
}

.event-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    align-self: stretch;
    box-sizing: border-box;
    padding: 1rem;
    min-height: 0;
}

@media (min-width: 577px) {
    .event-banner {
        min-height: 280px;
    }
}

@media (min-width: 992px) {
    .event-banner {
        min-height: 380px;
    }
}

@media (min-width: 1440px) {
    .event-banner {
        min-height: 460px;
    }
}

/* Centralização padrão do frame e do formulário de cadastro.
   Definido via CSS (não inline) para que o CSS responsivo gerado pelo admin
   possa sobrescrever quando necessário. */
.register-form-frame {
    margin-left: auto;
    margin-right: auto;
}

#registrationForm {
    margin-left: auto;
    margin-right: auto;
}

/* Estilo para inputs, botões, etc. (mantido) */
input[type="text"], input[type="email"], input[type="password"], input[type="date"], textarea, select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #fff;
    font-family: inherit;
}

button {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 80px;

}

button:hover {
    background-color: #0056b3;
}

/* Estilo adicional para o footer */
footer.footer .footer-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

footer.footer .footer-logo {
    margin-right: 20px;
}

footer.footer .footer-logo img {
    max-height: 40px;
}

footer.footer .footer-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

footer.footer .footer-text p {
    margin: 0;
}

footer.footer .footer-text a {
    color: white;
    text-decoration: none;
}

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

