/* Resetando algumas margens e estilos padrões */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos gerais da página */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fc;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    text-align: center;
}

/* Container centralizado para formulários */
.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

/* Títulos */
h1 {
    font-size: 24px;
    color: #2980b9;
    margin-bottom: 20px;
}

/* Estilo dos rótulos dos campos */
label {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
}

/* Campos de entrada */
input[type="text"],
input[type="file"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

/* Efeito ao focar no campo */
input[type="text"]:focus,
input[type="file"]:focus {
    border-color: #2980b9;
    outline: none;
}

/* Estilo do botão */
button {
    width: 100%;
    padding: 14px;
    background-color: #2980b9;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s ease-in-out;
}

/* Efeito ao passar o mouse (hover) */
button:hover {
    background-color: #3498db;
    transform: translateY(-2px); /* Levanta um pouco o botão */
}

/* Efeito ao focar no botão */
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.4); /* Animação de foco */
}

/* Estilo de mensagem de erro ou sucesso */
.error, .success {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
}

.error {
    background-color: #e74c3c;
    color: #fff;
}

.success {
    background-color: #2ecc71;
    color: #fff;
}

/* Responsividade para telas menores */
@media (max-width: 600px) {
    .container {
        width: 90%;
        padding: 20px;
    }

    h1 {
        font-size: 20px;
    }

    label, input, button {
        font-size: 14px;
    }
}

/* Rodapé */
footer {
    width: 100%;
    background-color: #2980b9;
    color: #fff;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
    font-size: 14px;
    font-family: Arial, sans-serif;
    border-top: 2px solid #fff;
}

/* Estilo do link no rodapé */
footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Efeito de hover no link */
footer a:hover {
    color: #3498db;
}
