body {
    font-family: Arial, sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2em;
}

p {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
}

label small {
    font-weight: normal;
    color: #777;
    font-size: 0.9em;
}

input[type="email"],
input[type="file"],
textarea {
    width: calc(100% - 20px); /* Ajuste para padding */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box; /* Incluye padding y borde en el ancho */
}

input[type="file"] {
    padding: 8px;
    background-color: #e9e9e9;
    cursor: pointer;
}

textarea {
    resize: vertical; /* Permite redimensionar verticalmente */
}

button {
    background-color: #28a745; /* Verde Bootstrap */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

button:hover {
    background-color: #218838; /* Verde más oscuro al pasar el ratón */
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.message {
    margin-top: 20px;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: bold;
    display: none; /* Se oculta por defecto, JS lo mostrará */
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.loading {
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #e0f7fa;
    color: #00796b;
    border-radius: 4px;
    font-weight: bold;
    display: none; /* Se oculta por defecto, JS lo mostrará */
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}