/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    background-image: linear-gradient(to right, white, grey, gold); /* Amarillo */
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

h2 {
    text-align: center;
    color: #444;
    margin-bottom: 20px;
}

/* Contenedor del formulario */
form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

/* Etiquetas y campos */
label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

textarea {
    resize: none;
}

button {
    width: 100%;
    background-color: #FFA500; /* Naranja */
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    margin-top: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

button:hover:not(:disabled) {
    background-color: #FF8C00;
}

/* Estilos para el input de archivo */
input[type="file"] {
    border: none;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
}

/* Efecto de foco */
input:focus, textarea:focus {
    border-color: #FFA500;
    outline: none;
    box-shadow: 0px 0px 5px rgba(255, 165, 0, 0.5);
}

/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
    body {
        padding: 20px;
        height: auto;
    }

    form {
        max-width: 100%;
        padding: 15px;
    }

    h2 {
        font-size: 24px;
    }

    button {
        font-size: 14px;
    }

    input, textarea {
        font-size: 14px;
        padding: 8px;
    }
}

/* Media Queries para dispositivos muy pequeños (móviles) */
@media (max-width: 480px) {
    h2 {
        font-size: 20px;
    }

    label {
        font-size: 12px;
    }

    input, textarea {
        font-size: 12px;
    }

    button {
        font-size: 14px;
        padding: 12px;
    }
}