/* 🔹 Estilos generales */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #2e2e2e;
    padding: 20px; /* Evita que el contenido se pegue a los bordes en móviles */
}

/* 🔹 Contenedor del formulario */
.form-content {
    background-color: #201f1f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(240, 239, 239, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
    color: #fff;
}

/* 🔹 Logo */
.logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 100px;
}

/* 🔹 Formulario */
form {
    display: flex;
    flex-direction: column;
}

/* 🔹 Etiquetas */
label {
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: left;
    font-weight: bold;
}

/* 🔹 Campos de entrada */
input, textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: calc(100% - 22px);
    font-size: 16px;
    background-color: #fff;
    color: #000;
}

/* 🔹 Ajustar tamaño de textarea */
textarea {
    resize: none;
}

/* 🔹 Botones */
button {
    padding: 12px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

/* Botón de enviar */
button[type="submit"] {
    background-color: #4CAF50;
}

button[type="submit"]:hover {
    background-color: #45a049;
}

/* Botón de volver */
button[type="button"] {
    background-color: #d9534f;
}

button[type="button"]:hover {
    background-color: #c9302c;
}

/* 🔹 Contenedor de botones */
.button-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* 🔹 Ajustes para móviles */
@media (max-width: 600px) {
    .form-content {
        width: 95%;
        padding: 15px;
    }

    .button-container {
        flex-direction: column;
    }

    button {
        width: 100%;
        margin-top: 5px;
    }
}
