/* Reset básico para remover margens e padding padrão */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Estilização do body */
body {
     /*background: linear-gradient(135deg, #fdfdfd, #7a7676);*/
     background: url('/static/fundo2.gif') no-repeat center 10% fixed; /* Caminho correto */
     background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

/* Container principal */
.container {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

/* Animação de entrada suave */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Título */
h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

/* Estilização dos grupos de input */
.input-group {
    text-align: left;
    margin-bottom: 15px;
}

/* Labels */
label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #444;
}

/* Campos de entrada (inputs) */
input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Efeito ao focar no input */
input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Botão de submissão */
.btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

/* Efeito hover no botão */
.btn:hover {
    background-color: #0056b3;
}

/* Mensagem abaixo do botão */
p {
    margin-top: 15px;
    font-size: 14px;
}

/* Links */
a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Mensagens Flash */
.flashes {
    list-style: none;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
}

/* Mensagens de erro */
.flashes .erro {
    background-color: #ff4d4d;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

/* Mensagens de sucesso */
.flashes .sucesso {
    background-color: #4caf50;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

/* Responsividade para telas menores */
@media (max-width: 450px) {
    .container {
        padding: 20px;
        width: 90%;
    }
}

.sucesso {
    background-color: #4caf50;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 15px;
}

.btn-sucesso {
    display: inline-block;
    background-color: white;
    color: #4caf50;
    padding: 8px 15px;
    margin: 10px 5px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #4caf50;
}

.btn-sucesso:hover {
    background-color: #4caf50;
    color: white;
}
/* Estilo do fundo do modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Conteúdo do modal */
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Botões do modal */
.btn-modal {
    display: block;
    background-color: #007bff;
    color: white;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn-modal:hover {
    background-color: #0056b3;
}

/* Botão de fechar (X) */
.close {
    color: black;
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: red;
}
