/* Resetando estilos padrões */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Fundo da página */
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;
}

/* Container principal */
.container {
    width: 100%;
    max-width: 400px;
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Títulos */
h2 {
    color: #333;
    margin-bottom: 20px;
}

/* Campos de entrada */
.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #007bff;
    outline: none;
}

/* Botões */
.btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #0056b3;
}

/* Mensagem de erro */
.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Estilização do fundo da modal */
.modal {
    display: none; /* Inicialmente escondida */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fundo escuro transparente */
    display: none;
    align-items: center;
    justify-content: center;
}

/* Estilização do conteúdo da modal */
.modal-content {
    background: #fff;
    padding: 25px;
    width: 350px; /* Modal maior */
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}

/* Título da modal */
.modal-content h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
}

/* Campos de senha */
.modal-content label {
    display: block;
    font-size: 14px;
    margin-top: 10px;
    text-align: left;
    color: #555;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* Botão de atualizar */
.btn-modal {
    background: #007bff;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-modal:hover {
    background: #0056b3;
}

/* Botão de fechar (X) */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #888;
}

.close:hover {
    color: #333;
}


/* Animação do modal */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -55%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Responsividade */
@media (max-width: 500px) {
    .container {
        width: 90%;
    }
}
