/* Estilo general */
body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
}

/* Contenedor del formulario */
.container {
    width: 80%;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Título */
h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Barra de progreso */
.progress-container {
    width: 100%;
    height: 10px;
    background-color: #ddd;
    margin-bottom: 20px;
    display: none; /* Ocultar la barra inicialmente */
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #4CAF50;
    text-align: center;
    line-height: 10px;
    color: white;
    font-size: 10px;
}

/* Estilo para cada grupo de formulario */
.form-group {
    margin-bottom: 20px;
}

/* Etiquetas */
label {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    display: block;
    margin-bottom: 8px;
}

/* Campos de entrada */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Área de texto */
textarea {
    resize: vertical;
}

/* Botón de envío */
.submit-btn {
    background-color: #4CAF50;
    color: white;
    padding: 15px 25px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #45a049;
}

/* Estilo para mostrar un mensaje de error si los campos están vacíos (opcional) */
input:invalid, textarea:invalid {
    border: 1px solid red;
}

/* Espaciado entre los elementos */
form {
    display: flex;
    flex-direction: column;
}

form > .form-group {
    margin-bottom: 20px;
}

/* Para dispositivos móviles */
@media (max-width: 600px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }

    .submit-btn {
        font-size: 14px;
    }
}
