/* Sección de Confirmación */
#confirmar {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    padding: 50px 20px;
}

/* Contenedor del formulario */
.container {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
    border: 2px solid rgb(137, 106, 85); /* Beige oscuro fuerte */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra el contenido verticalmente */
    background: rgba(255, 255, 255, 0.2); /* Un ligero fondo para mejorar la visibilidad del contenido */
    backdrop-filter: blur(2px); /* Desenfoque del fondo */
}

.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/fondoform.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px); /* Aplica el desenfoque a la imagen de fondo */
    z-index: -1;
}

/* Títulos */
.invtext {
    font-size: 1.8rem;
    font-family: "Lora", serif;
    color: rgb(99, 57, 29); /* Beige más oscuro */
    margin-bottom: 20px;
    text-align: center;
}

/* Etiquetas */
label {
    font-size: 1.2rem;
    color: rgb(70, 55, 45); /* Beige más oscuro */
    display: block;
    margin-top: 10px;
    font-family: "Arial", sans-serif;
    text-align: center;
}

/* Campos de entrada */
input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid rgb(150, 135, 120); /* Beige oscuro medio */
    border-radius: 5px;
    font-size: 1rem;
    font-family: "Arial", sans-serif;
    background-color: rgb(245, 240, 235); /* Beige claro cálido */
    text-align: center;
    color: rgb(60, 45, 35); /* Beige más oscuro fuerte */
}

/* Botones */
button {
    background-color: rgb(150, 120, 100); /* Beige oscuro medio */
    color: white;
    font-size: 1.3rem;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: "Lora", serif;
    margin-top: 20px;
    width: 100%;
    transition: background 0.3s ease;
}

button:hover {
    background-color: rgb(110, 90, 75); /* Beige oscuro fuerte */
}


/* Mensajes */
.comment p {
    font-size: 1rem;
    color: #4e3111; /* Azul oscuro */
    margin-top: 10px;
    text-align: center;
}


/* Ocultar formularios secundarios */
.hidden {
    display: none;
}

input[type="radio"] {
    margin-right: 5px;
}

#qrcode{
    align-items: center;
    justify-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
}

#message,
    #newMessage,
    #QRmessage {
    color: #ff0000;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
    font-size: 20px;
    }

    @media (max-width: 600px) {
        /* Ajustar el contenedor */
        .container {
            max-width: 90%;
            padding: 20px;
            border-radius: 10px;
        }
    
        /* Tamaño del título */
        .invtext {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }
    
        /* Ajustar etiquetas */
        label {
            font-size: 1rem;
            margin-top: 8px;
        }
    
        /* Ajustar inputs y textarea */
        input[type="text"],
        textarea {
            font-size: 0.9rem;
            padding: 8px;
            width: 90%;
        }
    
        /* Botón más pequeño */
        button {
            font-size: 1.1rem;
            padding: 10px;
        }
    
        /* Mensajes de advertencia */
        #message,
        #newMessage,
        #QRmessage {
            font-size: 16px;
        }
    
        /* Ajuste del código QR */
        #qrcode {
            flex-direction: column;
            align-items: center;
            margin-top: 15px;
            margin-bottom: 15px;
        }
    }
    