/* Importação de fonte moderna */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Card do Formulário */
form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
    border: 1px solid #dfe6e9;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2d3436;
    font-weight: 600;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #636e72;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Campos de Input */
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1.5px solid #dfe6e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #00b894;
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

/* Botão Entrar */
input[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: #00b894;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

input[type="submit"]:hover {
    background-color: #00947a;
    transform: translateY(-2px);
}

input[type="submit"]:active {
    transform: translateY(0);
}

/* Mensagem de Erro */
p[style*="color: red"] {
    background-color: #fff5f5;
    color: #c0392b !important;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #fab1a0;
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.85rem;
}