/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Body y fondo */
body {
    background: #f5f5f5;
    color: #333;
    padding: 20px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 1.8rem;
    color: #007BFF;
}

header a {
    color: #007BFF;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
}

header a:hover {
    color: #0056b3;
}

/* Main y formulario */
main {
    background: white;
    padding: 25px 30px;
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

form fieldset {
    border: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Textarea */
textarea {
    resize: vertical;
    min-height: 80px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
}

textarea:focus {
    border-color: #007BFF;
    outline: none;
}

/* Select */
select {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

select:focus {
    border-color: #007BFF;
    outline: none;
}

/* Botón submit */
input[type="submit"] {
    background-color: #007BFF;
    color: white;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Responsive */
@media (max-width: 600px) {
    main {
        padding: 20px;
        margin: 0 10px;
    }
}
