/* Reset básico */
* {
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
}
h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #222;
}
form {
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}
label {
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: block;
    color: #555;
}
input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 10px 12px;
    border: 1.8px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.25s ease;
    font-family: inherit;
    resize: vertical;
    min-height: 38px;
}
textarea {
    min-height: 70px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: #5c9ded;
    outline: none;
    box-shadow: 0 0 6px #5c9ded55;
}
input[type="submit"] {
    background-color: #5c9ded;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}
input[type="submit"]:hover {
    background-color: #3a76d2;
}
/* Para mejor separación entre label y campo */
.form-group {
    display: flex;
    flex-direction: column;
}
