/* Reset básico */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f6fa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Contenedor principal */
.card {
    width: 90%;
    max-width: 380px;
    background: #ffffff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    animation: fadeIn 0.3s ease;
}

.card h1{

    text-align: center;
}
.card h2 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

/* Inputs */
input {
    width: 90%;
    padding: 12px 14px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: 0.2s;
}

input:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74,144,226,0.2);
}

/* Botón */
button {
    width: 98%;
    margin-top: 16px;
    padding: 14px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #3c7ac2;
}

/* Mensajes */
#message {
    margin-top: 12px;
    text-align: center;
    font-size: 15px;
    color: #444;
}

/* Animación */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
